ar71xx: use Power-LED as Diag-LED on FRITZBox 4020

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>
master
David Bauer 6 years ago committed by Mathias Kresin
parent 9ec117c5be
commit daeab36c1b
  1. 1
      target/linux/ar71xx/base-files/etc/board.d/01_leds
  2. 1
      target/linux/ar71xx/base-files/etc/diag.sh

@ -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"

@ -67,6 +67,7 @@ get_status_led() {
archer-c60-v2|\
archer-c7-v4|\
fritz300e|\
fritz4020|\
gl-usb150|\
mr12|\
mr16|\

Loading…
Cancel
Save