forked from mirror/openwrt
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 commitc79c001b59("ar71xx: Archer C7 v1 LED names and RFKILL fixes") Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit4349d4c682)
This commit is contained in:
parent
ef391799e3
commit
1713707673
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue