[OpenWrt-Devel] [PATCH 3/3] lantiq: let dsl_notify.sh exclusive handle the dsl led
Mathias Kresin
openwrt at kresin.me
Wed Dec 16 18:26:08 EST 2015
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 at kresin.me>
---
target/linux/lantiq/base-files/etc/board.d/01_leds | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
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"
;;
*)
--
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list