aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/hotplug.d/dsl/led_dsl.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/dsl/led_dsl.sh b/target/linux/lantiq/base-files/etc/hotplug.d/dsl/led_dsl.sh
index 0bf749c56d..dd8e84a1af 100755
--- a/target/linux/lantiq/base-files/etc/hotplug.d/dsl/led_dsl.sh
+++ b/target/linux/lantiq/base-files/etc/hotplug.d/dsl/led_dsl.sh
@@ -10,7 +10,9 @@ led_dsl_up() {
"netdev")
led_set_attr $1 "trigger" "netdev"
led_set_attr $1 "device_name" "$(config_get led_dsl dev)"
- led_set_attr $1 "mode" "$(config_get led_dsl mode)"
+ for m in $(config_get led_dsl mode); do
+ led_set_attr $1 "$m" "1"
+ done
;;
*)
led_on $1