summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-04-04 09:35:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-04-04 09:35:49 +0000
commit714ffa32608e47de9260b1e950b9a74ca3a78da7 (patch)
treefa4fcaff6f2c1163393464286f2db9e8521d19f4 /package
parent6a50bf433ad158a08b50bfcff7ff7b0230a998ea (diff)
downloadmtk-20170518-714ffa32608e47de9260b1e950b9a74ca3a78da7.zip
mtk-20170518-714ffa32608e47de9260b1e950b9a74ca3a78da7.tar.gz
mtk-20170518-714ffa32608e47de9260b1e950b9a74ca3a78da7.tar.bz2
fix failsafe mode
SVN-Revision: 15096
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/etc/preinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
index 11b9100..89dc3bc 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