summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-11 13:33:45 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-11 13:33:45 +0000
commit65b306d01e5534025984229d3e883ae9188e323d (patch)
tree46087d47946cb83060ff367a78acb01d6567448e
parenta49f5b3910144b2d207d633b48c8c46e206051dd (diff)
bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26875 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/diag.sh2
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 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