ar71xx: use Power-LED as Diag-LED on FRITZBox 4020
authorDavid Bauer <mail@david-bauer.net>
Fri, 8 Jun 2018 19:42:52 +0000 (21:42 +0200)
committerMathias Kresin <dev@kresin.me>
Sat, 9 Jun 2018 11:46:01 +0000 (13:46 +0200)
This commit makes use of the Power-LED as Diag-LED, allowing the LED to
work as a status indicator.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ar71xx/base-files/etc/board.d/01_leds
target/linux/ar71xx/base-files/etc/diag.sh

index 52f1ac3..b3f5af1 100755 (executable)
@@ -373,7 +373,6 @@ epg5000)
        ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "$board:blue:wlan-5g" "phy0tpt"
        ;;
 fritz4020)
-       ucidef_set_led_default "power" "Power" "$board:green:power" "1"
        ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1"
        ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
        ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
index 03c639a..0c284a2 100644 (file)
@@ -67,6 +67,7 @@ get_status_led() {
        archer-c60-v2|\
        archer-c7-v4|\
        fritz300e|\
+       fritz4020|\
        gl-usb150|\
        mr12|\
        mr16|\