summaryrefslogtreecommitdiff
path: root/package/base-files/default/sbin
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-01 10:47:17 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-01 10:47:17 +0000
commit46225926c8c36b914ad7423bb7e6f36a42b92298 (patch)
treed61e3c02be52de8e16e9531c0ddb8f3d2c28f444 /package/base-files/default/sbin
parent64f38483d22a884bc34eb6d1200a2f92787bed12 (diff)
move sysfs to mount_root
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3107 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/sbin')
-rwxr-xr-xpackage/base-files/default/sbin/mount_root1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/default/sbin/mount_root b/package/base-files/default/sbin/mount_root
index bd9b815e12..427ff0444f 100755
--- a/package/base-files/default/sbin/mount_root
+++ b/package/base-files/default/sbin/mount_root
@@ -37,3 +37,4 @@ fi
mount none /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=50%
mkdir -p /dev/pts
mount none /dev/pts -t devpts
+grep sysfs /proc/filesystems >&- && mount -t sysfs none /sys