|
|
@ -2,7 +2,7 @@ |
|
|
|
[ $# = 0 ] && { echo " $0 <group>"; exit; } |
|
|
|
[ $# = 0 ] && { echo " $0 <group>"; exit; } |
|
|
|
. /etc/functions.sh |
|
|
|
. /etc/functions.sh |
|
|
|
. /etc/network.overrides |
|
|
|
. /etc/network.overrides |
|
|
|
[ -e /etc/config/network ] && . /etc/config/network |
|
|
|
[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network |
|
|
|
type=$1 |
|
|
|
type=$1 |
|
|
|
debug "### ifdown $type ###" |
|
|
|
debug "### ifdown $type ###" |
|
|
|
if=$(nvram get ${type}_ifname) |
|
|
|
if=$(nvram get ${type}_ifname) |
|
|
|