Sfoglia il codice sorgente

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 <[email protected]>
David Bauer 5 anni fa
parent
commit
4349d4c682

+ 3 - 0
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)