. /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
-for T in filter nat mangle; do
+for T in filter nat; do
iptables -t $T -F
iptables -t $T -X
done