2014-02-22 11:16:33 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2014-07-12 12:31:30 +00:00
|
|
|
# Copyright (C) 2013-2014 OpenWrt.org
|
2014-02-22 11:16:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
. /lib/brcm63xx.sh
|
|
|
|
|
2015-03-16 11:52:16 +00:00
|
|
|
case "$board_id" in
|
2014-07-12 12:31:30 +00:00
|
|
|
963281T_TEF)
|
|
|
|
ucidef_set_led_netdev "lan" "LAN" "A4001N1:green:eth" "eth0"
|
|
|
|
ucidef_set_led_usbdev "usb" "USB" "A4001N1:green:3g" "1-1"
|
|
|
|
;;
|
2014-07-27 17:44:59 +00:00
|
|
|
96328dg2x2)
|
|
|
|
ucidef_set_led_usbdev "usb" "USB" "A4001N:green:usb" "1-1"
|
|
|
|
;;
|
2015-03-16 11:52:10 +00:00
|
|
|
DGND3700v1_3800B)
|
|
|
|
ucidef_set_led_netdev "lan" "LAN" "DGND3700v1_3800B:green:lan" "eth0.1"
|
|
|
|
ucidef_set_led_netdev "wan" "WAN" "DGND3700v1_3800B:green:inet" "eth0.2"
|
|
|
|
ucidef_set_led_netdev "wlan0" "WIFI2G" "DGND3700v1_3800B:green:wifi2g" "wlan0"
|
|
|
|
ucidef_set_led_netdev "wlan1" "WIFI5G" "DGND3700v1_3800B:blue:wifi5g" "wlan1"
|
|
|
|
ucidef_set_led_usbdev "usb1" "USB1" "DGND3700v1_3800B:green:usb-back" "1-1"
|
|
|
|
ucidef_set_led_usbdev "usb2" "USB2" "DGND3700v1_3800B:green:usb-front" "1-2"
|
|
|
|
;;
|
2014-02-22 11:16:33 +00:00
|
|
|
'F@ST2704V2')
|
|
|
|
ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
|
|
|
|
;;
|
2014-07-12 12:31:39 +00:00
|
|
|
HW553)
|
|
|
|
ucidef_set_led_netdev "lan" "LAN" "HW553:blue:lan" "eth0"
|
|
|
|
ucidef_set_led_usbdev "usb1" "USB1" "HW553:red:hspa" "1-1"
|
|
|
|
ucidef_set_led_usbdev "usb2" "USB2" "HW553:blue:hspa" "1-2"
|
|
|
|
;;
|
2014-07-12 12:31:43 +00:00
|
|
|
HW556*)
|
|
|
|
ucidef_set_led_netdev "lan" "LAN" "HW556:red:dsl" "eth0"
|
|
|
|
ucidef_set_led_usbdev "usb" "USB" "HW556:red:hspa" "1-2"
|
|
|
|
;;
|
2014-02-22 11:16:33 +00:00
|
|
|
esac
|
|
|
|
|
|
|
|
ucidef_commit_leds
|
|
|
|
|
|
|
|
exit 0
|