aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-05-14 05:37:24 +0000
committerMike Baker <mbm@openwrt.org>2007-05-14 05:37:24 +0000
commit36fbb96b59b1f8788b361d472cfc46a4774ca1ad (patch)
treeb14a7eeb306c64ebbb66a90c4fa00e637761a8a0 /package
parentd3070f92e2efc1a1bc2cc582dc838be44198ef4b (diff)
downloadmaster-187ad058-36fbb96b59b1f8788b361d472cfc46a4774ca1ad.tar.gz
master-187ad058-36fbb96b59b1f8788b361d472cfc46a4774ca1ad.tar.bz2
master-187ad058-36fbb96b59b1f8788b361d472cfc46a4774ca1ad.zip
/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')
-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 34befe5ac7..d1a6ffd549 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