Add second radio LED and power LED to the default board configuration.

Signed-off-by: Christopher Lais <chris+open...@zenthought.org>
---
 target/linux/ramips/base-files/etc/board.d/01_leds | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 71cf3ac..9f750b5 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -26,7 +26,6 @@ case $board in
        set_usb_led "$board:blue:3g"
        ;;
 3g-6200nl|\
-br-6475nd|\
 mzk-w300nh2)
        set_wifi_led "$board:amber:wlan"
        ;;
@@ -71,6 +70,11 @@ bc2)
 br-6425)
        set_wifi_led "$board:orange:wlan"
        ;;
+br-6475nd)
+       set_wifi_led "$board:amber:wlan"
+       ucidef_set_led_netdev "wifi5ghz_led" "wifi5ghz" 
"$board:amber:wlan_5ghz" "wlan1"
+       ucidef_set_led_default "power" "POWER" "$board:green:power" "1"
+       ;;
 broadway)
        set_usb_led "$board:red:diskmounted"
        set_wifi_led "$board:red:wps_active"
-- 
2.5.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to