mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-21 20:08:24 +00:00
ath79: add leds migrations for archer-c7-v5
ar71xx uses `archer-c7-v5` for led prefix, but ath79 sticks to more generic `tplink` as the DTS is reused by more boards, so we need to perform migrations of the LED names during upgrade. Cc: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
73b21559ce
commit
4318bba0e9
@ -9,6 +9,9 @@ case "$board" in
|
|||||||
engenius,epg5000)
|
engenius,epg5000)
|
||||||
migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g"
|
migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g"
|
||||||
;;
|
;;
|
||||||
|
tplink,archer-c7-v5)
|
||||||
|
migrate_leds "archer-c7-v5:=tp-link:"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
migrations_apply system
|
migrations_apply system
|
||||||
|
Loading…
Reference in New Issue
Block a user