Fix set_state preinit stuff
[openwrt/svn-archive/archive.git] / package / base-files / files / etc / preinit
index b23508f552e3647f0d36580fd1bb378fea0036ed..34befe5ac7bc4a5dd631286888ca9173bfffcf24 100755 (executable)
@@ -10,6 +10,9 @@ failsafe() {
 
 [ -e /etc/preinit.arch ] && . /etc/preinit.arch
 
+mount -t proc none /proc
+mount -t sysfs none /sys
+
 set_state preinit
 
 mount_root ${FAILSAFE:+failsafe}