Browse Source

bcm63xx: Accept any led with power in its name as power led

Signed-off-by: Jonas Gorski <[email protected]>

SVN-Revision: 26875
Florian Fainelli 14 years ago
parent
commit
0fb1c2d537
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/brcm63xx/base-files/etc/diag.sh

+ 1 - 1
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