diff options
Diffstat (limited to 'target/linux/ath79/base-files/etc/diag.sh')
-rw-r--r-- | target/linux/ath79/base-files/etc/diag.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/target/linux/ath79/base-files/etc/diag.sh b/target/linux/ath79/base-files/etc/diag.sh index 0a5011a7ae..5a21006528 100644 --- a/target/linux/ath79/base-files/etc/diag.sh +++ b/target/linux/ath79/base-files/etc/diag.sh @@ -4,32 +4,7 @@ status_led="$(get_dt_led status)" -get_status_led() { - local board=$(board_name) - local boardname="${board##*,}" - - case $board in - "avm,fritz300e") - status_led="${boardname}:green:power" - ;; - "embeddedwireless,dorin") - status_led="dorin:green:status" - ;; - "glinet,ar150") - status_led="gl-ar150:orange:wlan" - ;; - "tplink,tl-wr1043nd-v1") - status_led="tp-link:green:system" - ;; - "ubnt,unifi") - status_led="ubnt:green:dome" - ;; - esac -} - set_state() { - [ -z "$status_led" ] && get_status_led - case "$1" in preinit) status_led_blink_preinit |