aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index cb639a7..a6140e5 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -20,8 +20,8 @@ printsep
/bin/dmesg -n 3
# mount /proc and /sys
-mount -n -t sysfs none /sys 2>/dev/null
mount -n -t proc none /proc
+[ "`grep sysfs /proc/filesystems`" ] && mount -n -t sysfs none /sys
if [ -e /dev/.devfsd -a -x /sbin/devfsd ]; then
# Looks like devfs is running, use it