aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/lantiq/base-files/etc/diag.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/diag.sh b/target/linux/lantiq/base-files/etc/diag.sh
index 71d6f3e511..f6363b34ac 100644
--- a/target/linux/lantiq/base-files/etc/diag.sh
+++ b/target/linux/lantiq/base-files/etc/diag.sh
@@ -17,6 +17,10 @@ set_state() {
;;
failsafe)
status_led_off
+ [ -n "$running" ] && {
+ status_led="$running"
+ status_led_off
+ }
status_led="$failsafe"
status_led_blink_failsafe
;;