2 [ $# = 0 ] && { echo " $0 <group>"; exit; }
4 .
/etc
/network.overrides
5 [ "$FAILSAFE" != "true" -a -e /etc
/config
/network
] && .
/etc
/config
/network
7 debug
"### ifdown $type ###"
10 if_proto
=$
(nvram get
${type}_proto
)
11 if=$
(nvram get
${type}_ifname
)
14 pppoa
) hotplug_dev unregister atm0
; exit 0 ;;
18 [ "${if%%[0-9]*}" = "ppp" ] && if="$(nvram get ${type}_device)"
20 if [ "${if%%[0-9]}" = "br" ]; then
21 for sif
in $
(nvram get
${type}_ifnames
); do
22 hotplug_dev unregister
"$sif"
26 hotplug_dev unregister
"$if"