diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-04 09:35:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-04 09:35:49 +0000 |
commit | 714ffa32608e47de9260b1e950b9a74ca3a78da7 (patch) | |
tree | fa4fcaff6f2c1163393464286f2db9e8521d19f4 | |
parent | 6a50bf433ad158a08b50bfcff7ff7b0230a998ea (diff) | |
download | upstream-714ffa32608e47de9260b1e950b9a74ca3a78da7.tar.gz upstream-714ffa32608e47de9260b1e950b9a74ca3a78da7.tar.bz2 upstream-714ffa32608e47de9260b1e950b9a74ca3a78da7.zip |
fix failsafe mode
SVN-Revision: 15096
-rwxr-xr-x | package/base-files/files/etc/preinit | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index 11b9100383..89dc3bcfdf 100755 --- 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 |