aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
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/base-files
parent6a50bf433ad158a08b50bfcff7ff7b0230a998ea (diff)
downloadupstream-714ffa32608e47de9260b1e950b9a74ca3a78da7.tar.gz
upstream-714ffa32608e47de9260b1e950b9a74ca3a78da7.tar.bz2
upstream-714ffa32608e47de9260b1e950b9a74ca3a78da7.zip
fix failsafe mode
SVN-Revision: 15096
Diffstat (limited to 'package/base-files')
-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 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