aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/base-files')
-rw-r--r--target/linux/ath79/base-files/etc/uci-defaults/04_led_migration7
1 files changed, 3 insertions, 4 deletions
diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
index b1afd0ee76..4e4e91c788 100644
--- a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
@@ -4,6 +4,7 @@
. /lib/functions/migrations.sh
board=$(board_name)
+boardonly="${board##*,}"
case "$board" in
engenius,epg5000)
@@ -12,11 +13,9 @@ engenius,epg5000)
tplink,archer-c7-v2)
migrate_leds ":blue:=:green:"
;;
-tplink,archer-c7-v4)
- migrate_leds "archer-c7-v4:=tp-link:"
- ;;
+tplink,archer-c7-v4|\
tplink,archer-c7-v5)
- migrate_leds "archer-c7-v5:=tp-link:"
+ migrate_leds "^$boardonly:=tp-link:"
;;
tplink,re355-v1)
migrate_leds "re355:=tp-link:"