From 0fb1c2d537da4b578502f761d7038f1768e268fa Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 11 May 2011 13:33:45 +0000 Subject: [PATCH] bcm63xx: Accept any led with power in its name as power led Signed-off-by: Jonas Gorski SVN-Revision: 26875 --- target/linux/brcm63xx/base-files/etc/diag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index cda52ac185a4..d492cd553e0b 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 -- 2.30.2