aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-10-21 16:29:36 +0200
committerJohn Crispin <john@phrozen.org>2019-10-22 11:41:53 +0200
commit8385d121d0ddfade4fa4755c1465110d9accfabb (patch)
tree5dea644f5ff93a2564f2381be3aa10c82062a786 /target/linux/ath79/base-files
parent144379e14908fcd9411e3ed6c6cefc238fc4900a (diff)
downloadupstream-8385d121d0ddfade4fa4755c1465110d9accfabb.tar.gz
upstream-8385d121d0ddfade4fa4755c1465110d9accfabb.tar.bz2
upstream-8385d121d0ddfade4fa4755c1465110d9accfabb.zip
ath79: add LED migration for several Archer Cxx devices
Several Archer Cxx devices were using board-specific LED names in ar71xx, which were changed to "tp-link:*" in ath79. This patch adds migration for them. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 53e6cc7a81175728f64f978c2363a18c1fa66d64)
Diffstat (limited to 'target/linux/ath79/base-files')
-rw-r--r--target/linux/ath79/base-files/etc/uci-defaults/04_led_migration9
1 files changed, 6 insertions, 3 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 a512225523..a291bf8c7f 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
@@ -10,13 +10,16 @@ case "$board" in
engenius,epg5000)
migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g"
;;
-tplink,archer-c7-v2)
- migrate_leds ":blue:=:green:"
- ;;
+tplink,archer-c25-v1|\
+tplink,archer-c58-v1|\
+tplink,archer-c59-v1|\
tplink,archer-c7-v4|\
tplink,archer-c7-v5)
migrate_leds "^$boardonly:=tp-link:"
;;
+tplink,archer-c7-v2)
+ migrate_leds ":blue:=:green:"
+ ;;
wd,mynet-n750)
migrate_leds "wd:=mynet-n750:"
;;