From d58097e65d4681baa09ddedb006dd82c1f4c3354 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 4 Apr 2009 09:35:49 +0000
Subject: [PATCH] fix failsafe mode

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15096 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/base-files/files/etc/preinit | 1 +
 1 file changed, 1 insertion(+)

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