aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-10-14 20:52:22 +0200
committerMathias Kresin <dev@kresin.me>2017-10-25 08:45:05 +0200
commitb02b7004f8d1a946cfd71d2458d5bc3c5946dae7 (patch)
treeeff71676c49592f785648bd97237e4dc6849fd0c /target/linux/lantiq/base-files/etc/board.d/01_leds
parent1470c79cebdae83161a48a5e08c6002ecf090f42 (diff)
downloadupstream-b02b7004f8d1a946cfd71d2458d5bc3c5946dae7.tar.gz
upstream-b02b7004f8d1a946cfd71d2458d5bc3c5946dae7.tar.bz2
upstream-b02b7004f8d1a946cfd71d2458d5bc3c5946dae7.zip
lantiq: xway: rename nas0/ptm0 to dsl0
This change makes it possible to configure the wan/dsl ppp interface settings independantly from the used TC-Layer (ATM/PTM). By using dsl0 as interface name as for the xrx200 we can get rid of a few conditionals which were introduced because of the different default TC-Layer in xway and xrx200. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/01_leds5
1 files changed, 1 insertions, 4 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 5a692c4fa0..2c7a402dfb 100755
--- a/target/linux/lantiq/base-files/etc/board.d/01_leds
+++ b/target/linux/lantiq/base-files/etc/board.d/01_leds
@@ -20,15 +20,12 @@ led_usb2="$(lantiq_get_dt_led usb2)"
led_dsl="$(lantiq_get_dt_led dsl)"
[ -n "$led_dsl" ] && {
- interface="nas0"
- lantiq_is_vdsl_system && interface="dsl0"
-
led_internet="$(lantiq_get_dt_led internet)"
if [ -n "$led_internet" ]; then
ucidef_set_led_default "dsl" "dsl" "$led_dsl" "0"
ucidef_set_led_netdev "internet" "internet" "$led_internet" "pppoe-wan"
else
- ucidef_set_led_netdev "dsl" "dsl" "$led_dsl" "$interface"
+ ucidef_set_led_netdev "dsl" "dsl" "$led_dsl" "dsl0"
fi
}