aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-06-08 21:42:52 +0200
committerMathias Kresin <dev@kresin.me>2018-06-09 13:45:29 +0200
commitdaeab36c1bb4e554548b4773224297ba46c01f9c (patch)
tree0102cb81f9027ae9ef6cf8067b5a31f5060ba97a /target/linux
parent9ec117c5be83f296b8af7862291ea0b70bb1e0e6 (diff)
downloadupstream-daeab36c1bb4e554548b4773224297ba46c01f9c.tar.gz
upstream-daeab36c1bb4e554548b4773224297ba46c01f9c.tar.bz2
upstream-daeab36c1bb4e554548b4773224297ba46c01f9c.zip
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>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh1
2 files changed, 1 insertions, 1 deletions
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|\