aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/ase
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/ase')
-rwxr-xr-xtarget/linux/lantiq/ase/base-files/etc/board.d/01_leds2
-rw-r--r--target/linux/lantiq/ase/base-files/etc/uci-defaults/01_led_migration11
2 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/lantiq/ase/base-files/etc/board.d/01_leds b/target/linux/lantiq/ase/base-files/etc/board.d/01_leds
index 6a8de7d7a5..3e58463c91 100755
--- a/target/linux/lantiq/ase/base-files/etc/board.d/01_leds
+++ b/target/linux/lantiq/ase/base-files/etc/board.d/01_leds
@@ -23,7 +23,7 @@ board=$(board_name)
case "$board" in
allnet,all0333cj)
- ucidef_set_led_netdev "lan" "lan" "all0333cj:green:lan" "eth0.1"
+ ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0.1"
;;
esac
diff --git a/target/linux/lantiq/ase/base-files/etc/uci-defaults/01_led_migration b/target/linux/lantiq/ase/base-files/etc/uci-defaults/01_led_migration
new file mode 100644
index 0000000000..46b8a47e8a
--- /dev/null
+++ b/target/linux/lantiq/ase/base-files/etc/uci-defaults/01_led_migration
@@ -0,0 +1,11 @@
+#
+# Copyright (C) 2020 OpenWrt.org
+#
+
+. /lib/functions/migrations.sh
+
+remove_devicename_leds
+
+migrations_apply system
+
+exit 0