X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/629b5c0767c8557ab688582bb6bd86c448f8c243..66492b44df29654379584aac27a0d0c84b26cade:/openwrt/package/base-files/default/sbin/ifdown diff --git a/openwrt/package/base-files/default/sbin/ifdown b/openwrt/package/base-files/default/sbin/ifdown index 950ee12db..2d4054d8b 100755 --- a/openwrt/package/base-files/default/sbin/ifdown +++ b/openwrt/package/base-files/default/sbin/ifdown @@ -2,7 +2,7 @@ [ $# = 0 ] && { echo " $0 "; 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)