2 # Copyright (C) 2006 OpenWrt.org
4 [ $# = 0 ] && { echo " $0 <group>"; exit; }
8 debug
"### ifdown $type ###"
11 eval "if_proto=\"\${${type}_proto}\""
12 eval "if=\"\${${type}_ifname}\""
13 [ "${if%%[0-9]}" = "ppp" ] && eval "if=\"\${${type}_device}\""
16 pppoa
) hotplug_dev unregister atm0
; exit 0 ;;
20 hotplug_dev unregister
"$if"