aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/apm821xx')
-rwxr-xr-xtarget/linux/apm821xx/base-files/etc/diag.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/apm821xx/base-files/etc/diag.sh b/target/linux/apm821xx/base-files/etc/diag.sh
index 26c035c6f3..96d42a4892 100755
--- a/target/linux/apm821xx/base-files/etc/diag.sh
+++ b/target/linux/apm821xx/base-files/etc/diag.sh
@@ -29,9 +29,11 @@ set_state() {
;;
upgrade)
[ -n "$running" ] && {
- status_led="$upgrade"
- status_led_blink_preinit_regular
+ status_led="$running"
+ status_led_off
}
+ status_led="$upgrade"
+ status_led_blink_preinit_regular
;;
done)
status_led_off