From: Felix Fietkau Date: Sat, 4 Apr 2009 09:35:49 +0000 (+0000) Subject: fix failsafe mode X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=714ffa32608e47de9260b1e950b9a74ca3a78da7;p=openwrt%2Fstaging%2Flinusw.git fix failsafe mode SVN-Revision: 15096 --- 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