aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/diag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/diag.sh')
-rw-r--r--package/base-files/files/etc/diag.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/etc/diag.sh b/package/base-files/files/etc/diag.sh
index 8eb36c6feb..37a8ec758e 100644
--- a/package/base-files/files/etc/diag.sh
+++ b/package/base-files/files/etc/diag.sh
@@ -37,6 +37,8 @@ set_led_state() {
;;
done)
status_led_off
+ [ "$status_led" != "$running" ] && \
+ status_led_restore_trigger "boot"
[ -n "$running" ] && {
status_led="$running"
status_led_on