X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/629b5c0767c8557ab688582bb6bd86c448f8c243..e85b14fba4f60938c973cda30865dbd0bbbd0d65:/openwrt/package/base-files/default/sbin/ifdown?ds=inline 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)