add config file /etc/config/network, add board-specific network.overrides (instead...
[openwrt/svn-archive/archive.git] / openwrt / package / base-files / default / sbin / ifdown
index 6b255cc1b87894ca14371cb3c3bdc6c2e6e92a3f..950ee12db57c17e20e80ee5934b3cbb6e51e2ac7 100755 (executable)
@@ -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)