X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/36faccabad3949010df40117623f50120e4616a0..93b9f41b61873dd2e47ddb1446863ac8ca906c94:/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 cda52ac18..d492cd553 100755 --- a/target/linux/brcm63xx/base-files/etc/diag.sh +++ b/target/linux/brcm63xx/base-files/etc/diag.sh @@ -61,7 +61,7 @@ set_state() { status_led_set_timer 50 50 ;; done) - if [ "${status_led#power}" != "$status_led" ]; then + if [ "${status_led/power}" != "$status_led" ]; then status_led_on else status_led_off