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 | 92fbe74bf9de9eee2f65dc7bc5e7a82d20e12e6e (patch) | |
tree | c64d97a65af7b1fd5660be066eac0f7ab2bb3742 /package/base-files/files/etc | |
parent | 78b2e3f95095a5c4bd09b5b2642e5b16c47f697c (diff) | |
download | upstream-92fbe74bf9de9eee2f65dc7bc5e7a82d20e12e6e.tar.gz upstream-92fbe74bf9de9eee2f65dc7bc5e7a82d20e12e6e.tar.bz2 upstream-92fbe74bf9de9eee2f65dc7bc5e7a82d20e12e6e.zip |
fix failsafe mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15096 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc')
-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 |