aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/base-files/etc
diff options
context:
space:
mode:
authorEugene Konev <ejka@openwrt.org>2007-10-11 01:39:24 +0000
committerEugene Konev <ejka@openwrt.org>2007-10-11 01:39:24 +0000
commit824c1abfe8b96c5e0731e0cf4af968f20fd88ac0 (patch)
treec542d4891726ff3beabec5ceab6c1826938754bd /target/linux/ar7/base-files/etc
parent01b42ee44d5e9bcafdcb58a9ffcc730b399e783a (diff)
downloadmaster-187ad058-824c1abfe8b96c5e0731e0cf4af968f20fd88ac0.tar.gz
master-187ad058-824c1abfe8b96c5e0731e0cf4af968f20fd88ac0.tar.bz2
master-187ad058-824c1abfe8b96c5e0731e0cf4af968f20fd88ac0.zip
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/etc')
-rw-r--r--target/linux/ar7/base-files/etc/diag.sh4
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