diff mbox

[OpenWrt-Devel,3/3] lantiq: let dsl_notify.sh exclusive handle the dsl led

Message ID 1450308368-20406-3-git-send-email-openwrt@kresin.me
State Under Review, archived
Delegated to: Mathias Kresin
Headers show

Commit Message

Mathias Kresin Dec. 16, 2015, 11:26 p.m. UTC
dsl_control (dsl_notify.sh) is the only process which is aware of the state of
the atm/ptm interface. Use the dsl led exclusive for the dsl line state.

All touched boards have a distinct internet led set, which is perfect fine for
indicating the ppp status. No need to add another netdev trigger to the ptm/atm
device.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
---
 target/linux/lantiq/base-files/etc/board.d/01_leds | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox

Patch

diff --git a/target/linux/lantiq/base-files/etc/board.d/01_leds b/target/linux/lantiq/base-files/etc/board.d/01_leds
index 8422ec0..9787d2d 100755
--- a/target/linux/lantiq/base-files/etc/board.d/01_leds
+++ b/target/linux/lantiq/base-files/etc/board.d/01_leds
@@ -43,7 +43,6 @@  VGV7510KW22)
 	ucidef_set_led_default "power" "power" "power" "1"
 	ucidef_set_led_default "power2" "power2" "power2" "0"
 	ucidef_set_led_wlan "wifi" "wifi" "wifi" "phy0radio"
-	ucidef_set_led_netdev "dsl" "dsl" "dsl" "nas0"
 	ucidef_set_led_netdev "internet_green" "internet_green" "internet_green" "pppoe-wan"
 	;;
 VGV7519)
@@ -57,7 +56,6 @@  P2812HNUF*)
 	ucidef_set_led_default "power" "power" "power" "0"
 	ucidef_set_led_default "power2" "power2" "power2" "1"
 	ucidef_set_led_wlan "wireless_green" "wireless_green" "wireless_green" "phy0radio"
-	ucidef_set_led_netdev "dsl" "dsl" "dsl" "nas0"
 	ucidef_set_led_netdev "internet_green" "internet_green" "internet_green" "pppoe-wan"
 	;;
 ARV7519RW22)
@@ -69,7 +67,7 @@  ARV8539PW22)
         ucidef_set_led_default "power" "power" "soc:green:power" "1"
         ucidef_set_led_default "power2" "power2" "soc:red:power" "0"
         ucidef_set_led_wlan "wifi" "wifi" "soc:green:wireless" "phy0tpt"
-        ucidef_set_led_netdev "dsl" "dsl" "soc:green:dsl" "nas0"
+        ucidef_set_led_default "dsl" "dsl" "soc:green:dsl" "0"
         ucidef_set_led_netdev "online" "online" "soc:green:online" "pppoe-wan"
         ;;
 *)