projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b9c3f0
)
/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)
SVN-Revision: 7220
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 34befe5ac7bc4a5dd631286888ca9173bfffcf24..d1a6ffd549d3572d14d6abb648e21d2357cc31af 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