From 4318bba0e94c034064f2ea3bf0a896d940227d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Fri, 17 May 2019 13:52:20 +0200 Subject: ath79: add leds migrations for archer-c7-v5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Petr Štetiar --- target/linux/ath79/base-files/etc/uci-defaults/04_led_migration | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target') 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 2ca87ccb34..d9c61f8103 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 @@ -9,6 +9,9 @@ case "$board" in engenius,epg5000) migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g" ;; +tplink,archer-c7-v5) + migrate_leds "archer-c7-v5:=tp-link:" + ;; esac migrations_apply system -- cgit v1.2.3