lantiq: led name has changed from adsl -> dsl
authorJohn Crispin <john@openwrt.org>
Mon, 6 Oct 2014 05:18:52 +0000 (05:18 +0000)
committerJohn 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

index 526a88925cd914667febc92c302f979f2885e9e3..b514e257d4b8e256f0cdb82a6d23463f6d628a15 100755 (executable)
@@ -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