aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-03-02 19:28:50 +0100
committerMathias Kresin <dev@kresin.me>2018-05-17 07:40:19 +0200
commit75ed56a08a4ce978323259a59a8f45ceed511584 (patch)
tree7fca1a4625212688cf2aefc9679d1bf39f7a5489 /target/linux/ath79/base-files/etc/diag.sh
parentbc04cf780e95aa292695f064dfaeea08df8c9b84 (diff)
downloadupstream-75ed56a08a4ce978323259a59a8f45ceed511584.tar.gz
upstream-75ed56a08a4ce978323259a59a8f45ceed511584.tar.bz2
upstream-75ed56a08a4ce978323259a59a8f45ceed511584.zip
ath79: add AVM FRITZ!WLAN Repeater 300E
No known issues, everything works fine. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ath79/base-files/etc/diag.sh')
-rw-r--r--target/linux/ath79/base-files/etc/diag.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/diag.sh b/target/linux/ath79/base-files/etc/diag.sh
index c9b32df94e..8022151378 100644
--- a/target/linux/ath79/base-files/etc/diag.sh
+++ b/target/linux/ath79/base-files/etc/diag.sh
@@ -4,8 +4,12 @@
get_status_led() {
local board=$(board_name)
+ local boardname="${board##*,}"
case $board in
+ "avm,fritz300e")
+ status_led="${boardname}:green:power"
+ ;;
"glinet,ar150")
status_led="gl-ar150:orange:wlan"
;;