diff options
author | ejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-10-11 01:39:24 +0000 |
---|---|---|
committer | ejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-10-11 01:39:24 +0000 |
commit | 84eb9e7193a483ba882b94ec9361c7d193c41fee (patch) | |
tree | c542d4891726ff3beabec5ceab6c1826938754bd /target/linux/ar7/base-files | |
parent | af7b1083d06f0dfeac2e1886028293d0a19d7091 (diff) |
we are using leds-gpio now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9252 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/base-files')
-rw-r--r-- | target/linux/ar7/base-files/etc/diag.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |