mirror of https://github.com/hak5/openwrt.git
lantiq: led name has changed from adsl -> dsl
make the notify script aware of this. https://dev.openwrt.org/ticket/18005 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42798lede-17.01
parent
e77ae183a1
commit
36faa5b145
|
@ -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 adsl 500 500;;
|
||||
"TRAINING") led_timer adsl 200 200;;
|
||||
"UP") led_on adsl;;
|
||||
*) led_off adsl
|
||||
"HANDSHAKE") led_timer dsl 500 500;;
|
||||
"TRAINING") led_timer dsl 200 200;;
|
||||
"UP") led_on dsl;;
|
||||
*) led_off dsl
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue