aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/diag.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh
index f77200aeed..fd9de29ad4 100755
--- a/target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/target/linux/brcm63xx/base-files/etc/diag.sh
@@ -61,7 +61,11 @@ set_state() {
status_led_set_timer 50 50
;;
done)
- status_led_off
+ if [ "$status_led" = "power" ]; then
+ status_led_on
+ else
+ status_led_off
+ fi
;;
esac
}