summaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-14 05:37:24 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-14 05:37:24 +0000
commit8ed83153349f72ff56f4504add5a67ca16778dde (patch)
treeb14a7eeb306c64ebbb66a90c4fa00e637761a8a0 /package/base-files/files
parente5a6579b59a0a071a183113be6a7ca44a2268fc6 (diff)
/proc needs to be mounted before preinit.arch for failsafe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7220 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-xpackage/base-files/files/etc/preinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
index 34befe5ac..d1a6ffd54 100755
--- a/package/base-files/files/etc/preinit
+++ b/package/base-files/files/etc/preinit
@@ -8,10 +8,10 @@ failsafe() {
ash --login
}
-[ -e /etc/preinit.arch ] && . /etc/preinit.arch
+mount none /proc -t proc
+mount none /sys -t sysfs
-mount -t proc none /proc
-mount -t sysfs none /sys
+[ -e /etc/preinit.arch ] && . /etc/preinit.arch
set_state preinit