projects
/
openwrt
/
staging
/
ynezz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e77ae18
)
lantiq: led name has changed from adsl -> dsl
author
John Crispin
<john@openwrt.org>
Mon, 6 Oct 2014 05:18:52 +0000
(
05:18
+0000)
committer
John Crispin
<john@openwrt.org>
Mon, 6 Oct 2014 05:18:52 +0000
(
05:18
+0000)
make the notify script aware of this.
https://dev.openwrt.org/ticket/18005
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42798
target/linux/lantiq/base-files/sbin/dsl_notify.sh
patch
|
blob
|
history
diff --git
a/target/linux/lantiq/base-files/sbin/dsl_notify.sh
b/target/linux/lantiq/base-files/sbin/dsl_notify.sh
index 526a88925cd914667febc92c302f979f2885e9e3..b514e257d4b8e256f0cdb82a6d23463f6d628a15 100755
(executable)
--- a/
target/linux/lantiq/base-files/sbin/dsl_notify.sh
+++ b/
target/linux/lantiq/base-files/sbin/dsl_notify.sh
@@
-21,10
+21,10
@@
config_load system
config_get default led_adsl default
if [ "$default" != 1 ]; then
case "$DSL_INTERFACE_STATUS" in
- "HANDSHAKE") led_timer
a
dsl 500 500;;
- "TRAINING") led_timer
a
dsl 200 200;;
- "UP") led_on
a
dsl;;
- *) led_off
a
dsl
+ "HANDSHAKE") led_timer dsl 500 500;;
+ "TRAINING") led_timer dsl 200 200;;
+ "UP") led_on dsl;;
+ *) led_off dsl
esac
fi