diff options
author | Mathias Kresin <dev@kresin.me> | 2017-02-17 22:16:01 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-02-18 16:52:05 +0100 |
commit | 0a26490fe4ce0f828d5d8a35ad99c05e29f3cf42 (patch) | |
tree | a8dd86c8a4c33ed652be62dc777390199856c275 /target/linux/lantiq/base-files/etc/board.d/01_leds | |
parent | 6a6e3a4928010f7e9a04cf3b7f61ecc472df2273 (diff) | |
download | mtk-20170518-0a26490fe4ce0f828d5d8a35ad99c05e29f3cf42.zip mtk-20170518-0a26490fe4ce0f828d5d8a35ad99c05e29f3cf42.tar.gz mtk-20170518-0a26490fe4ce0f828d5d8a35ad99c05e29f3cf42.tar.bz2 |
lantiq: set the internet led interface according to wan interface
Use the nas0 interface for the netdev trigger as default. Use the ptm0
interface for xRX200 boards to match the default wan interface set in
02_network.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/base-files/etc/board.d/01_leds')
-rwxr-xr-x | target/linux/lantiq/base-files/etc/board.d/01_leds | 1 |
1 files changed, 1 insertions, 0 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 b916438..0698d6c 100755 --- a/target/linux/lantiq/base-files/etc/board.d/01_leds +++ b/target/linux/lantiq/base-files/etc/board.d/01_leds @@ -21,6 +21,7 @@ led_usb2="$(lantiq_get_dt_led usb2)" led_internet="$(lantiq_get_dt_led internet)" [ -n "$led_internet" ] && { interface="nas0" + lantiq_is_vdsl_system && interface="ptm0" led_dsl="$(lantiq_get_dt_led dsl)" [ -n "$led_dsl" ] && { |