From 84eb9e7193a483ba882b94ec9361c7d193c41fee Mon Sep 17 00:00:00 2001 From: ejka Date: Thu, 11 Oct 2007 01:39:24 +0000 Subject: we are using leds-gpio now git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9252 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar7/base-files/etc/diag.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ar7/base-files/etc') diff --git a/target/linux/ar7/base-files/etc/diag.sh b/target/linux/ar7/base-files/etc/diag.sh index 22acc71ab..af4a1f3c9 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