ath79: use board name in LED migrations
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 17 Sep 2019 12:42:59 +0000 (14:42 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 21 Oct 2019 12:11:47 +0000 (14:11 +0200)
commit6b0eb84336edc995f4723f0a005507f158d3e895
treed5bce39b0ea075c1b55871deb15be9414b23b3eb
parente816c50993890ffb6b25ec9f351e8133719b5007
ath79: use board name in LED migrations

Several devices added to LED migration script will just have their
(old) board name converted to tp-link.

By using a variable for this, the amount of code in the migration
script can be reduced and the chance for typos is reduced.

This patch also introduces the marker for beginning of a pattern
"^" to the regex, so the match is more specific.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/base-files/etc/uci-defaults/04_led_migration