summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/sbin/ifdown
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/sbin/ifdown')
-rwxr-xr-xopenwrt/package/base-files/default/sbin/ifdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/sbin/ifdown b/openwrt/package/base-files/default/sbin/ifdown
index 950ee12db5..2d4054d8b3 100755
--- a/openwrt/package/base-files/default/sbin/ifdown
+++ b/openwrt/package/base-files/default/sbin/ifdown
@@ -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)