From db684723c4cf2a2f7316f4c3bbeace9b0f2e3a17 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 25 Aug 2005 11:57:56 +0000 Subject: don't load config files in failsafe mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1750 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/base-files/default/etc/init.d/S45firewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openwrt/package/base-files/default/etc/init.d/S45firewall') diff --git a/openwrt/package/base-files/default/etc/init.d/S45firewall b/openwrt/package/base-files/default/etc/init.d/S45firewall index c9986011a..066bded5b 100755 --- a/openwrt/package/base-files/default/etc/init.d/S45firewall +++ b/openwrt/package/base-files/default/etc/init.d/S45firewall @@ -5,7 +5,7 @@ ${FAILSAFE:+exit} . /etc/functions.sh . /etc/network.overrides -[ -e /etc/config/network ] && . /etc/config/network +[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network WAN=$(nvram get wan_ifname) LAN=$(nvram get lan_ifname) -- cgit v1.2.3