projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a50bf4
)
fix failsafe mode
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 4 Apr 2009 09:35:49 +0000
(09:35 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 4 Apr 2009 09:35:49 +0000
(09:35 +0000)
SVN-Revision: 15096
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 11b9100383f1248ac1ba47161d1a403518712484..89dc3bcfdf0fd0a5d1e3b09ac73ac6b5a04275c4 100755
(executable)
--- a/
package/base-files/files/etc/preinit
+++ b/
package/base-files/files/etc/preinit
@@
-68,6
+68,7
@@
trap 'FAILSAFE=true' USR1
[ -e /etc/preinit.arch ] && . /etc/preinit.arch
set_state preinit
echo "$HOTPLUG" > /proc/sys/kernel/hotplug
+export FAILSAFE
eval ${FAILSAFE:+failsafe}
lock -w /tmp/.failsafe