diff options
author | Eugene Konev <ejka@imfi.kspu.ru> | 2007-10-11 01:39:24 +0000 |
---|---|---|
committer | Eugene Konev <ejka@imfi.kspu.ru> | 2007-10-11 01:39:24 +0000 |
commit | 76fdf7d7b0c28100310bc4f7eda59e786f43e82e (patch) | |
tree | 1675bede5e45c5ce0b82ba271d51691fbb8d26fd /target/linux/ar7/base-files | |
parent | 982d054c27137b57a093f7a05d29c796a6e30b1a (diff) | |
download | upstream-76fdf7d7b0c28100310bc4f7eda59e786f43e82e.tar.gz upstream-76fdf7d7b0c28100310bc4f7eda59e786f43e82e.tar.bz2 upstream-76fdf7d7b0c28100310bc4f7eda59e786f43e82e.zip |
we are using leds-gpio now
SVN-Revision: 9252
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 |