aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-03-01 21:31:29 +0100
committerDavid Bauer <mail@david-bauer.net>2020-03-01 23:46:13 +0100
commit17137076732b18442202e75c7edf10bccbc5f2a2 (patch)
tree696ea844c81e131b169539c17821090096fb19bb /target/linux/ar71xx/base-files/etc
parentef391799e3821dad0654a95bfeaf67e12f232f9e (diff)
downloadupstream-17137076732b18442202e75c7edf10bccbc5f2a2.tar.gz
upstream-17137076732b18442202e75c7edf10bccbc5f2a2.tar.bz2
upstream-17137076732b18442202e75c7edf10bccbc5f2a2.zip
ar71xx: add missing LED migration for Archer C7
When changing the LED names for the Archer C7 to represent the correct color, a migration for existing UCI entries was not created. Add a migration to keep existing LED configurations working. Fixes commit c79c001b593b ("ar71xx: Archer C7 v1 LED names and RFKILL fixes") Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 4349d4c6823bfe09caabbdd3c9a65198addc76d6)
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
index 4dd224b549..c244b3b460 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
@@ -44,6 +44,9 @@ migrate_leds()
board=$(board_name)
case "$board" in
+archer-c7)
+ migrate_leds ":blue:=:green:"
+ ;;
dhp-1565-a1|\
dir-825-c1|\
dir-835-a1)