projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3070f9
)
/proc needs to be mounted before preinit.arch for failsafe
author
Mike Baker
<mbm@openwrt.org>
Mon, 14 May 2007 05:37:24 +0000
(
05:37
+0000)
committer
Mike Baker
<mbm@openwrt.org>
Mon, 14 May 2007 05:37:24 +0000
(
05:37
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7220
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/base-files/files/etc/preinit
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/preinit
b/package/base-files/files/etc/preinit
index
34befe5
..
d1a6ffd
100755
(executable)
--- 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