ar71xx: fix WNDR3x00 factory image generation
[openwrt.git] / package / comgt / files-old / 3g.iface
1 include /lib/network
2 config_load network
3 scan_interfaces
4 config_get proto "$INTERFACE" proto
5 [ "$proto" = "3g" ] && {
6 config_get iface "$INTERFACE" ifname
7 case "$ACTION" in
8 ifup)
9 set_3g_led 1 1 0
10 ;;
11 ifdown)
12 set_3g_led 0 0 0
13 ;;
14 esac
15 }
This page took 0.049395 seconds and 5 git commands to generate.