set_usb_led "$board:red:diskmounted"
set_wifi_led "$board:red:wps_active"
;;
+c108)
+ ucidef_set_led_netdev "lan" "lan" "$board:green:lan" "eth0"
+ ucidef_set_led_netdev "modem" "modem" "$board:green:modem" "wwan0"
+ ;;
+c20)
+ ucidef_set_led_switch "lan" "lan" "$board:blue:lan" "switch0" "0x1e"
+ ucidef_set_led_switch "wan" "wan" "$board:blue:wan" "switch0" "0x01"
+ set_usb_led "$board:blue:usb"
+ ucidef_set_led_netdev "wlan2g" "wlan2g" "$board:blue:wlan2g" "wlan0"
+ ;;
c20i)
ucidef_set_led_switch "lan" "lan" "$board:blue:lan" "switch0" "0x1e"
ucidef_set_led_switch "wan" "wan" "$board:blue:wan" "switch0" "0x01"
set_usb_led "$board:green:mobile"
;;
mir3g)
- ucidef_set_led_netdev "eth" "Ethernet" "$board:red:wan" "eth0"
- set_usb_led "$board:blue:usb"
+ ucidef_set_led_switch "wan-amber" "WAN (amber)" "$board:amber:wan" "switch0" "0x02" "0x08"
+ ucidef_set_led_switch "lan1-amber" "LAN1 (amber)" "$board:amber:lan1" "switch0" "0x08" "0x08"
+ ucidef_set_led_switch "lan2-amber" "LAN2 (amber)" "$board:amber:lan2" "switch0" "0x04" "0x08"
;;
miwifi-mini)
ucidef_set_led_default "power" "power" "$board:red:status" "1"
ucidef_set_led_switch "lan4" "lan4" "$board:green:lan4" "switch0" "0x10"
ucidef_set_led_switch "wan" "wan" "$board:green:wan" "switch0" "0x01"
;;
+u25awf-h1)
+ set_wifi_led "u25awf:red:wifi"
+ ucidef_set_led_netdev "eth" "eth" "u25awf:green:lan" "eth0"
+ ;;
vocore-8M|\
vocore-16M)
ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0"
wcr-150gn)
set_usb_led "$board:amber:user"
;;
+we1026-5g-16m)
+ ucidef_set_led_netdev "lan" "LAN" "we1026-5g:green:lan" "eth0"
+ set_wifi_led "we1026-5g:green:wifi"
+ set_usb_led "we1026-5g:green:usb" "1-1.1"
+ ;;
whr-1166d|\
whr-300hp2|\
whr-600d)
set_wifi_led "$board:blue:status"
;;
youku-yk1)
- ucidef_set_led_default "power" "power" "$board:blue:power" "1"
set_wifi_led "$board:blue:air"
set_usb_led "$board:blue:usb"
+ ucidef_set_led_switch "wan" "wan" "$board:blue:wan" "switch0" "0x10"
;;
esac