2 # Copyright (C) 2006 OpenWrt.org
4 [ $# = 0 ] && { echo " $0 <group>"; exit; }
10 debug
"### ifup $type ###"
13 eval "if_proto=\"\${${type}_proto}\""
14 eval "if=\"\${${type}_ifname}\""
15 [ "${if%%[0-9]}" = "ppp" ] && eval "if=\"\${${type}_device}\""
18 pppoa
) hotplug_dev register atm0
; exit 0 ;;
21 [ "$if" = "nas0" ] && {
22 ifconfig nas0
2>&- >&- ||
{
23 hotplug_dev register atm0
31 if [ "${if%%[0-9]}" = "br" ]; then
32 eval "ifnames=\"\${${type}_ifnames}\""
33 for sif
in $ifnames; do
34 hotplug_dev register
"$sif"
37 hotplug_dev register
"$if"