X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/21bfdcd4ab1d414ecbbc6eb175196cd4da38c280..b8d5619ca8ac95b4a0365a7adcce4b0d9c7305ce:/target/linux/brcm63xx/base-files/etc/diag.sh diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index f77200aee..d492cd553 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}" != "$status_led" ]; then + status_led_on + else + status_led_off + fi ;; esac }