From: David Bauer Date: Fri, 8 Jun 2018 19:42:52 +0000 (+0200) Subject: ar71xx: use Power-LED as Diag-LED on FRITZBox 4020 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=daeab36c1bb4e554548b4773224297ba46c01f9c;p=openwrt%2Fstaging%2Fynezz.git 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 --- diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index b53aafb0ee..8dc1a36416 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -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" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 1530dded12..f1f4980532 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -67,6 +67,7 @@ get_status_led() { archer-c60-v2|\ archer-c7-v4|\ fritz300e|\ + fritz4020|\ gl-usb150|\ mr12|\ mr16|\