diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/01_leds')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 3ca390f13f..213f2edc26 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -56,11 +56,12 @@ air3gii) set_wifi_led "$board:green:wlan" set_usb_led "$board:green:mobile" ;; -all0256n) +all0256n-4M|\ +all0256n-8M) ucidef_set_rssimon "wlan0" "200000" "1" - ucidef_set_led_rssi "rssilow" "RSSILOW" "$board:green:rssilow" "wlan0" "1" "40" "0" "6" - ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "$board:green:rssimed" "wlan0" "30" "80" "-29" "5" - ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$board:green:rssihigh" "wlan0" "70" "100" "-69" "8" + ucidef_set_led_rssi "rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6" + ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0256n:green:rssimed" "wlan0" "30" "80" "-29" "5" + ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8" set_wifi_led "rt2800pci-phy0::radio" ;; ar670w|\ @@ -68,11 +69,12 @@ ar725w|\ awapn2403) set_wifi_led "rt2800soc-phy0::radio" ;; -asl26555) - ucidef_set_led_default "power" "POWER" "$board:green:power" "1" - ucidef_set_led_netdev "eth" "ETH" "$board:green:eth" "eth0" - set_wifi_led "$board:green:wlan" - set_usb_led "$board:green:3g" +asl26555-8M|\ +asl26555-16M) + ucidef_set_led_default "power" "POWER" "asl26555:green:power" "1" + ucidef_set_led_netdev "eth" "ETH" "asl26555:green:eth" "eth0" + set_wifi_led "asl26555:green:wlan" + set_usb_led "asl26555:green:3g" ;; bc2) set_usb_led "$board:blue:usb" @@ -139,7 +141,8 @@ hlk-rm04|\ sl-r7205|\ v11st-fe|\ w306r-v20|\ -wt1520) +wt1520-4M|\ +wt1520-8M) set_wifi_led "rt2800pci-phy0::radio" ;; dir-615-d|\ @@ -292,9 +295,10 @@ psg1218b) ucidef_set_led_netdev "Network" "Network" "$board:blue:status" "eth0" ucidef_set_led_default "status" "STATUS" "$board:yellow:status" "0" ;; -px-4885) - set_wifi_led "$board:orange:wifi" - set_usb_led "$board:blue:storage" +px-4885-4M|\ +px-4885-8M) + set_wifi_led "px-4885:orange:wifi" + set_usb_led "px-4885:blue:storage" ;; r6220) ucidef_set_led_netdev "wan" "wan" "$board:green:wan" eth0.2 @@ -324,9 +328,10 @@ tiny-ac) set_wifi_led "$board:orange:wifi" set_usb_led "$board:green:usb" ;; -vocore) - ucidef_set_led_netdev "eth" "ETH" "$board:orange:eth" "eth0" - set_wifi_led "$board:green:status" +vocore-8M|\ +vocore-16M) + ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0" + set_wifi_led "vocore:green:status" ;; vocore2) set_wifi_led "$board:fuchsia:status" @@ -357,8 +362,9 @@ wrh-300cr) wndr3700v5) ucidef_set_led_default "power" "POWER" "$board:green:power" "0" ;; -wt3020) - ucidef_set_led_default "power" "power" "$board:blue:power" "0" +wt3020-4M|\ +wt3020-8M) + ucidef_set_led_default "power" "power" "wt3020:blue:power" "0" ;; y1) set_usb_led "$board:blue:usb" |