diff options
author | John Crispin <john@openwrt.org> | 2013-05-30 16:00:15 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-05-30 16:00:15 +0000 |
commit | b585923cc99486ef76a5d01f0f6e442992e0b983 (patch) | |
tree | c48ed8315c87737ab6da0ca5fac75f84c5352709 /target/linux/lantiq/base-files/etc/uci-defaults/01_leds | |
parent | ee65d346d97dd520e098dcaae1f47e53215071d2 (diff) | |
download | mtk-20170518-b585923cc99486ef76a5d01f0f6e442992e0b983.zip mtk-20170518-b585923cc99486ef76a5d01f0f6e442992e0b983.tar.gz mtk-20170518-b585923cc99486ef76a5d01f0f6e442992e0b983.tar.bz2 |
lantiq: fix LED-handling oversights
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
Diffstat (limited to 'target/linux/lantiq/base-files/etc/uci-defaults/01_leds')
-rwxr-xr-x | target/linux/lantiq/base-files/etc/uci-defaults/01_leds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds index bdf1311..1b30318 100755 --- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds +++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds @@ -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 |