ar71xx: fix Mikrotik board detection

Fix a typo in the machine type being extracted from /proc/cpuinfo
which causes all Mikrotik board to be undetected properly.

This lead to sysupgrade issues and probably some others too.

Fixes: acf2b6c888 ("ar71xx: base-files: fix board detect on new MikroTik devices")

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
(cherry picked from commit e09da0169a)
This commit is contained in:
Koen Vandeputte 2019-07-29 10:10:02 +02:00 committed by Adrian Schmutzler
parent 336aaedc9c
commit 471baf3f74

View File

@ -965,7 +965,7 @@ ar71xx_board_detect() {
*"MAC1200R")
name="mc-mac1200r"
;;
"MikroTik"*)
"Mikrotik"*)
name=$(mikrotik_board_detect "$machine")
;;
*"MiniBox V1.0")