don't load config files in failsafe mode
[openwrt.git] / openwrt / package / base-files / default / sbin / ifdown
index 950ee12..2d4054d 100755 (executable)
@@ -2,7 +2,7 @@
 [ $# = 0 ] && { echo "  $0 <group>"; exit; }
 . /etc/functions.sh
 . /etc/network.overrides
-[ -e /etc/config/network ] && . /etc/config/network
+[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
 type=$1
 debug "### ifdown $type ###"
 if=$(nvram get ${type}_ifname)
This page took 0.02235 seconds and 4 git commands to generate.