diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-09-17 14:43:00 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2019-10-21 14:12:07 +0200 |
commit | 53e6cc7a81175728f64f978c2363a18c1fa66d64 (patch) | |
tree | 66c64624ba95523607137962f046d0d0920bfbe3 /target/linux/ath79/base-files | |
parent | 6b0eb84336edc995f4723f0a005507f158d3e895 (diff) | |
download | upstream-53e6cc7a81175728f64f978c2363a18c1fa66d64.tar.gz upstream-53e6cc7a81175728f64f978c2363a18c1fa66d64.tar.bz2 upstream-53e6cc7a81175728f64f978c2363a18c1fa66d64.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>
Diffstat (limited to 'target/linux/ath79/base-files')
-rw-r--r-- | target/linux/ath79/base-files/etc/uci-defaults/04_led_migration | 12 |
1 files changed, 9 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 4e4e91c788..b23e5f7db6 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,19 @@ 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-c59-v2|\ +tplink,archer-c60-v1|\ +tplink,archer-c60-v2|\ tplink,archer-c7-v4|\ tplink,archer-c7-v5) migrate_leds "^$boardonly:=tp-link:" ;; +tplink,archer-c7-v2) + migrate_leds ":blue:=:green:" + ;; tplink,re355-v1) migrate_leds "re355:=tp-link:" ;; |