diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-14 05:37:24 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-14 05:37:24 +0000 |
commit | 8ed83153349f72ff56f4504add5a67ca16778dde (patch) | |
tree | b14a7eeb306c64ebbb66a90c4fa00e637761a8a0 /package/base-files | |
parent | e5a6579b59a0a071a183113be6a7ca44a2268fc6 (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')
-rwxr-xr-x | package/base-files/files/etc/preinit | 6 |
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 |