lantiq: led name has changed from adsl -> dsl
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Oct 2014 05:18:52 +0000 (05:18 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42798 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/lantiq/base-files/sbin/dsl_notify.sh

index 526a889..b514e25 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