summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-05-13 10:17:57 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-05-13 10:17:57 +0000
commit5cbadc89e7c7febfb8ad9198f9b5f49280aead05 (patch)
tree97a62ec4868bb3e6e562cdf447303cf92408b028 /package/base-files/files/etc
parente4c6078c6788530bc88eb6790e70d5a5b363a344 (diff)
downloadmtk-20170518-5cbadc89e7c7febfb8ad9198f9b5f49280aead05.zip
mtk-20170518-5cbadc89e7c7febfb8ad9198f9b5f49280aead05.tar.gz
mtk-20170518-5cbadc89e7c7febfb8ad9198f9b5f49280aead05.tar.bz2
Fix set_state preinit stuff
SVN-Revision: 7200
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/preinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
index b23508f..34befe5 100755
--- a/package/base-files/files/etc/preinit
+++ b/package/base-files/files/etc/preinit
@@ -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}