aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-05-11 13:33:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-05-11 13:33:45 +0000
commitbc014cb9cd0dff710d2ea8dee93ea2d139797cda (patch)
tree46087d47946cb83060ff367a78acb01d6567448e /target
parent2811523f2cb69ab8bdf020d9f9e727aecfb83fea (diff)
downloadupstream-bc014cb9cd0dff710d2ea8dee93ea2d139797cda.tar.gz
upstream-bc014cb9cd0dff710d2ea8dee93ea2d139797cda.tar.bz2
upstream-bc014cb9cd0dff710d2ea8dee93ea2d139797cda.zip
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
Diffstat (limited to 'target')
-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 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