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 043b814773a..9cf6e30d399 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -1,5 +1,6 @@ #!/bin/sh +. /lib/functions/leds.sh . /lib/functions/uci-defaults.sh set_wifi_led() { @@ -12,6 +13,9 @@ boardname="${board##*,}" board_config_update +led_wlan="$(get_dt_led wlan)" +[ -n "$led_wlan" ] && ucidef_set_led_wlan "wifi_led" "wifi" "$led_wlan" "phy0tpt" + case $board in 3g-6200n|\ br-6475nd|\