move sysfs to mount_root
[openwrt/svn-archive/archive.git] / openwrt / package / base-files / default / etc / preinit
index f82823ec9c5b8b45e9c76696f13adb05f1ea5f57..ac9039ca7175f5d7681b3704a118877827e57764 100755 (executable)
@@ -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