add experimental sane-backends package, like to get canon scanner working via saned
[openwrt.git] / openwrt / package / base-files / default / etc / init.d / S45firewall
index c998601..8c67d82 100755 (executable)
@@ -5,13 +5,13 @@ ${FAILSAFE:+exit}
 
 . /etc/functions.sh
 . /etc/network.overrides
 
 . /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)
 
 ## CLEAR TABLES
 
 WAN=$(nvram get wan_ifname)
 LAN=$(nvram get lan_ifname)
 
 ## CLEAR TABLES
-for T in filter nat mangle; do
+for T in filter nat; do
   iptables -t $T -F
   iptables -t $T -X
 done
   iptables -t $T -F
   iptables -t $T -X
 done
This page took 0.022673 seconds and 4 git commands to generate.