Signed-off-by: Jonas Gorski <jonas.gorski+open...@gmail.com>
---
 target/linux/brcm63xx/base-files/etc/diag.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh 
b/target/linux/brcm63xx/base-files/etc/diag.sh
index cda52ac..d492cd5 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
-- 
1.5.6.5

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to