don't load config files in failsafe mode
[openwrt.git] / openwrt / package / base-files / default / etc / init.d / S45firewall
index c998601..066bded 100755 (executable)
@@ -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)
This page took 0.026142 seconds and 4 git commands to generate.