board_config_update
-case "$(board_name)" in
+board=$(board_name)
+model="${board##*,}"
+
+case "$board" in
actiontec,r1000h)
ucidef_set_led_usbport "usb" "USB" "R1000H:green:usb" "usb1-port1" "usb2-port1"
;;
comtrend,ar-5315u)
ucidef_set_led_usbdev "usb" "USB" "AR-5315u:green:usb" "1-1"
;;
-comtrend,vr-3032u)
- ucidef_set_led_usbdev "usb" "USB" "vr-3032u:green:usb" "1-1"
+comtrend,vr-3032u|\
+huawei,hg253s-v2)
+ ucidef_set_led_usbdev "usb" "USB" "$model:green:usb" "1-1"
;;
huawei,echolife-hg553)
ucidef_set_led_netdev "lan" "LAN" "HW553:blue:lan" "eth0"
huawei,echolife-hg655b)
ucidef_set_led_usbdev "usb" "USB" "HW65x:green:usb" "1-2"
;;
-huawei,hg253s-v2)
- ucidef_set_led_usbdev "usb" "USB" "hg253s-v2:green:usb" "1-1"
- ;;
inventel,livebox-1)
ucidef_set_led_netdev "lan" "LAN" "Livebox1:red:traffic" "eth0"
ucidef_set_led_netdev "wan" "WAN" "Livebox1:red:adsl" "eth1"
ucidef_set_led_usbdev "usb2" "USB2" "DGND3700v1_3800B:green:usb-front" "1-2"
;;
netgear,dgnd3700-v2)
- ucidef_set_led_netdev "lan" "LAN" "dgnd3700-v2:green:ethernet" "eth0"
- ucidef_set_led_usbdev "usb1" "USB1" "dgnd3700-v2:green:usb1" "1-1"
- ucidef_set_led_usbdev "usb2" "USB2" "dgnd3700-v2:green:usb2" "1-2"
+ ucidef_set_led_netdev "lan" "LAN" "$model:green:ethernet" "eth0"
+ ucidef_set_led_usbdev "usb1" "USB1" "$model:green:usb1" "1-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "$model:green:usb2" "1-2"
;;
netgear,evg2000)
ucidef_set_led_netdev "lan" "LAN" "EVG2000:green:lan" "eth0"
ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
;;
sercomm,ad1018)
- ucidef_set_led_netdev "wlan0" "WLAN" "ad1018:green:wifi" "wlan0"
+ ucidef_set_led_netdev "wlan0" "WLAN" "$model:green:wifi" "wlan0"
;;
sercomm,ad1018-nor)
ucidef_set_led_netdev "wlan0" "WLAN" "AD1018:green:wifi" "wlan0"