fix failsafe mode
authorFelix Fietkau <nbd@openwrt.org>
Sat, 4 Apr 2009 09:35:49 +0000 (09:35 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 4 Apr 2009 09:35:49 +0000 (09:35 +0000)
SVN-Revision: 15096

package/base-files/files/etc/preinit

index 11b9100383f1248ac1ba47161d1a403518712484..89dc3bcfdf0fd0a5d1e3b09ac73ac6b5a04275c4 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