summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc
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
commit03c661a34fcb3b60558cf989598ce973e941f29b (patch)
tree873e9640eb091a94b74634b53e9ea6ce840b2d72 /openwrt/package/base-files/default/etc
parent3ad65d760df424fb1b409f0e92c8f2c8bf5f235a (diff)
downloadmtk-20170518-03c661a34fcb3b60558cf989598ce973e941f29b.zip
mtk-20170518-03c661a34fcb3b60558cf989598ce973e941f29b.tar.gz
mtk-20170518-03c661a34fcb3b60558cf989598ce973e941f29b.tar.bz2
move sysfs to mount_root
SVN-Revision: 3107
Diffstat (limited to 'openwrt/package/base-files/default/etc')
-rwxr-xr-xopenwrt/package/base-files/default/etc/preinit5
1 files changed, 0 insertions, 5 deletions
diff --git a/openwrt/package/base-files/default/etc/preinit b/openwrt/package/base-files/default/etc/preinit
index f82823e..ac9039c 100755
--- a/openwrt/package/base-files/default/etc/preinit
+++ b/openwrt/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