aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/default/sbin/ifdown
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/sbin/ifdown')
-rwxr-xr-xpackage/base-files/default/sbin/ifdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/default/sbin/ifdown b/package/base-files/default/sbin/ifdown
index 6b255cc1b8..950ee12db5 100755
--- a/package/base-files/default/sbin/ifdown
+++ b/package/base-files/default/sbin/ifdown
@@ -1,6 +1,8 @@
#!/bin/ash
[ $# = 0 ] && { echo " $0 <group>"; exit; }
. /etc/functions.sh
+. /etc/network.overrides
+[ -e /etc/config/network ] && . /etc/config/network
type=$1
debug "### ifdown $type ###"
if=$(nvram get ${type}_ifname)