add config file /etc/config/network, add board-specific network.overrides (instead...
[openwrt.git] / openwrt / package / base-files / default / sbin / ifdown
index 6b255cc..950ee12 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/ash
 [ $# = 0 ] && { echo "  $0 <group>"; exit; }
 . /etc/functions.sh
 #!/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)
 type=$1
 debug "### ifdown $type ###"
 if=$(nvram get ${type}_ifname)
This page took 0.022545 seconds and 4 git commands to generate.