fix failsafe mode
[openwrt/svn-archive/archive.git] / package / base-files / files / etc / preinit
index 11b9100..89dc3bc 100755 (executable)
@@ -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