From 76fdf7d7b0c28100310bc4f7eda59e786f43e82e Mon Sep 17 00:00:00 2001 From: Eugene Konev Date: Thu, 11 Oct 2007 01:39:24 +0000 Subject: we are using leds-gpio now SVN-Revision: 9252 --- target/linux/ar7/base-files/etc/diag.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ar7/base-files') diff --git a/target/linux/ar7/base-files/etc/diag.sh b/target/linux/ar7/base-files/etc/diag.sh index 22acc71abf..af4a1f3c91 100644 --- a/target/linux/ar7/base-files/etc/diag.sh +++ b/target/linux/ar7/base-files/etc/diag.sh @@ -4,13 +4,13 @@ set_led() { local led="$1" local state="$2" - [ -d "/sys/class/leds/ar7:$led" ] && echo "$state" > "/sys/class/leds/ar7:$led/brightness" + [ -d "/sys/class/leds/$led" ] && echo "$state" > "/sys/class/leds/$led/brightness" } set_state() { case "$1" in preinit) - set_led status 1 + set_led status 255 ;; done) set_led status 0 -- cgit v1.2.3