aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2004-07-18 21:28:41 +0000
committerJudd Vinet <judd@archlinux.org>2004-07-18 21:28:41 +0000
commitef0a365fc88fd1b02883dd42e0afb0929fbfa3f4 (patch)
treeb743dbb9dadc7b7f5d89ee7a0e7e524bfbeee242 /rc.sysinit
parent5ef7c1839eed06599d615380dae4447fe43dfb34 (diff)
downloadinitscripts-ef0a365fc88fd1b02883dd42e0afb0929fbfa3f4.tar.xz
fixed the sysfs problem with 2.4
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