ar71xx: base-files: fix board detect on new MikroTik devices
authorHenryk Heisig <hyniu@o2.pl>
Sat, 23 Mar 2019 08:35:11 +0000 (08:35 +0000)
committerPetr Štetiar <ynezz@true.cz>
Mon, 17 Jun 2019 07:42:37 +0000 (09:42 +0200)
Move all MikroTik devices to new function to increase script execution
speed.

Machine name in new version of MikroTik RouterBOARD devices add "RB"
before model name:

 Old machine name: MikroTik RouterBOARD 951Ui-2nD
 New:              MikroTik RouterBOARD RB951Ui-2nD

So this patch should fix it for all currently supported MikroTik boards.

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
[rebased,commit message facelift,script fixes]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
[spotted missing 922UAGS-5HPacD]
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

No differences found