From daeab36c1bb4e554548b4773224297ba46c01f9c Mon Sep 17 00:00:00 2001 From: David Bauer Date: Fri, 8 Jun 2018 21:42:52 +0200 Subject: 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 --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 1 - target/linux/ar71xx/base-files/etc/diag.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar71xx/base-files/etc') 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|\ -- cgit v1.2.3