diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-05-11 13:33:45 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-05-11 13:33:45 +0000 |
commit | 0fb1c2d537da4b578502f761d7038f1768e268fa (patch) | |
tree | 1d1c3091290438746dec576f5e92a1214094e5a8 /target/linux/brcm63xx/base-files/etc | |
parent | c6af9c23b7ce11259da16f598cfae0b46ffc17f9 (diff) | |
download | upstream-0fb1c2d537da4b578502f761d7038f1768e268fa.tar.gz upstream-0fb1c2d537da4b578502f761d7038f1768e268fa.tar.bz2 upstream-0fb1c2d537da4b578502f761d7038f1768e268fa.zip |
bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 26875
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc')
-rwxr-xr-x | 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 cda52ac185..d492cd553e 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 |