fix default lan_ifnames for wrt54g v1.x
[openwrt.git] / openwrt / package / base-files / default / sbin / ifdown
index 6b255cc..2d4054d 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/ash
 [ $# = 0 ] && { echo "  $0 <group>"; exit; }
 . /etc/functions.sh
+. /etc/network.overrides
+[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
 type=$1
 debug "### ifdown $type ###"
 if=$(nvram get ${type}_ifname)
This page took 0.031067 seconds and 4 git commands to generate.