set_wifi_led "$boardname:red:wps_active"
;;
hiwifi,hc5661)
- ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "eth0.2"
+ ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x01"
set_wifi_led "$boardname:blue:wlan2g"
;;
hiwifi,hc5661a|\
xzwifi,creativebox-v1)
ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x10"
;;
-hiwifi,hc5761|\
+hiwifi,hc5761)
+ ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x01"
+ ucidef_set_led_netdev "wifi5g" "wifi5g" "$boardname:blue:wlan5g" "wlan0"
+ ucidef_set_led_netdev "wifi2g" "wifi2g" "$boardname:blue:wlan2g" "wlan1"
+ ;;
hiwifi,hc5861)
- ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "eth0.2"
+ ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x20"
ucidef_set_led_netdev "wifi5g" "wifi5g" "$boardname:blue:wlan5g" "wlan0"
ucidef_set_led_netdev "wifi2g" "wifi2g" "$boardname:blue:wlan2g" "wlan1"
;;