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 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