2 [ $# = 0 ] && { echo " $0 <group>"; exit; }
4 .
/etc
/network.overrides
5 [ "$FAILSAFE" != "true" -a -e /etc
/config
/network
] && .
/etc
/config
/network
9 debug
"### ifup $type ###"
12 if_proto
=$
(nvram get
${type}_proto
)
13 if=$
(nvram get
${type}_ifname
)
16 pppoa
) hotplug_dev register atm0
; exit 0 ;;
18 ifconfig nas0
2>&- >&- ||
{
19 hotplug_dev register atm0
26 [ "${if%%[0-9]*}" = "ppp" ] && if="$(nvram get ${if_proto}_ifname)"
28 if [ "${if%%[0-9]}" = "br" ]; then
29 for sif
in $
(nvram get
${type}_ifnames
); do
30 hotplug_dev register
"$sif"
33 hotplug_dev register
"$if"