openwrtv4/package/comgt/files/3g.iface
2006-11-04 00:21:54 +00:00

10 lines
201 B
Text

include /lib/network
config_load network
scan_interfaces
config_get proto "$INTERFACE" proto
[ "$proto" = "3g" ] && {
case "$ACTION" in
ifup) set_3g_led 1 1 0;;
ifdown) set_3g_led 0 0 0;;
esac
}