lantiq: fix LED-handling oversights
authorJohn Crispin <john@openwrt.org>
Thu, 30 May 2013 16:00:15 +0000 (16:00 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 30 May 2013 16:00:15 +0000 (16:00 +0000)
This reassigns the PPPoE status to the LED that was intended to indicate
it, rather than the DSL sync light.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 36777

target/linux/lantiq/base-files/etc/uci-defaults/01_leds

index bdf13117054658e49bd8a7755315f2806ce2b05d..1b303184fa9ca8e11551d2b1e986b9b0a150a304 100755 (executable)
@@ -9,7 +9,7 @@
 
 [ -e "/sys/class/leds/wifi" ] && ucidef_set_led_wlan "wifi" "wifi" "wifi" "phy0tpt"
 [ -e "/sys/class/leds/usb" ] && ucidef_set_led_usbdev "usb" "usb" "usb" "1-1"
-[ -e "/sys/class/leds/dsl" ] &&        ucidef_set_led_netdev "dsl" "dsl" "dsl" "pppoe-wan"
+[ -e "/sys/class/leds/internet" ] &&   ucidef_set_led_netdev "internet" "internet" "internet" "pppoe-wan"
 
 for a in `ls /sys/class/leds/`; do
        grep -q "\[none\]" /sys/class/leds/$a/trigger