aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/default/etc/preinit
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-02-01 10:47:17 +0000
committerMike Baker <mbm@openwrt.org>2006-02-01 10:47:17 +0000
commita5d9d02c3a7a26f91ea99c83598dbca32136872e (patch)
treed61e3c02be52de8e16e9531c0ddb8f3d2c28f444 /package/base-files/default/etc/preinit
parentac7b6ef636e75dea84e4dd9ca1b9be433398b754 (diff)
downloadupstream-a5d9d02c3a7a26f91ea99c83598dbca32136872e.tar.gz
upstream-a5d9d02c3a7a26f91ea99c83598dbca32136872e.tar.bz2
upstream-a5d9d02c3a7a26f91ea99c83598dbca32136872e.zip
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/etc/preinit')
-rwxr-xr-xpackage/base-files/default/etc/preinit5
1 files changed, 0 insertions, 5 deletions
diff --git a/package/base-files/default/etc/preinit b/package/base-files/default/etc/preinit
index f82823ec9c..ac9039ca71 100755
--- a/package/base-files/default/etc/preinit
+++ b/package/base-files/default/etc/preinit
@@ -21,9 +21,4 @@ mount_root ${FAILSAFE:+failsafe}
{ mount|grep "on / type jffs2" 1>&-; } || firstboot
}
-grep sysfs /proc/filesystems >&- 2>&- && {
- mkdir -p /sys
- mount -t sysfs none /sys
-}
-
exec /sbin/init