summaryrefslogtreecommitdiff
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:46:01 +0200
commit46e232d8a190c2189e5c34701d8a0119b778d847 (patch)
tree4dc63fe280953af45f694f4df6b9d6c1dbd7b096
parent433fb7d2c7846983f686512a7a6136ac03695559 (diff)
downloadmtk-20170518-46e232d8a190c2189e5c34701d8a0119b778d847.zip
mtk-20170518-46e232d8a190c2189e5c34701d8a0119b778d847.tar.gz
mtk-20170518-46e232d8a190c2189e5c34701d8a0119b778d847.tar.bz2
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>
-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 52f1ac3..b3f5af1 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 03c639a..0c284a2 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|\