aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-02-17 22:16:01 +0100
committerMathias Kresin <dev@kresin.me>2017-02-18 16:51:31 +0100
commite88b36f4be7e583f12fb901298a8a58224bced36 (patch)
tree17117244073bb5a364abc8d65ecefa4365e4bcaa /target/linux/lantiq/base-files
parent044a4eafd5e1a06eedee700bb4191f02674a9da1 (diff)
downloadupstream-e88b36f4be7e583f12fb901298a8a58224bced36.tar.gz
upstream-e88b36f4be7e583f12fb901298a8a58224bced36.tar.bz2
upstream-e88b36f4be7e583f12fb901298a8a58224bced36.zip
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')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/01_leds1
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 b9164389aa..0698d6cc59 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" ] && {