From 46e232d8a190c2189e5c34701d8a0119b778d847 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') 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 52f1ac3ecf..b3f5af1e4d 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 03c639a2b7..0c284a2087 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