summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-04 09:35:49 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-04 09:35:49 +0000
commitd58097e65d4681baa09ddedb006dd82c1f4c3354 (patch)
treec64d97a65af7b1fd5660be066eac0f7ab2bb3742 /package
parent0eec108cc8efe6ee1f16fb203c597202a5d42651 (diff)
fix failsafe mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15096 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 11b910038..89dc3bcfd 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