2 [ $# = 0 ] && { echo " $0 <group>"; exit; }
4 .
/etc
/network.overrides
5 [ "$FAILSAFE" != "true" -a -e /etc
/config
/network
] && .
/etc
/config
/network
8 debug
"### ifdown $type ###"
10 if=$
(nvram get
${type}_ifname
)
11 proto
=$
(nvram get
${type}_proto
)
12 if_valid
$if && $DEBUG ifconfig
$if down
13 kill $
(cat /var
/run
/${if}.pid
2>&-) 2>&-
14 killall ifup.
$proto >&- 2>&-
16 pptp|pppoe
) killall pppd
>&- 2>&- ;;
17 static
) env
-i ACTION
="ifdown" INTERFACE
="$if" PROTO
=static
/sbin
/hotplug
"iface" ;;
This page took 0.048329 seconds and 5 git commands to generate.