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>
This commit is contained in:
Koen Vandeputte 2019-07-29 10:10:02 +02:00
parent 6a7b201b6c
commit e09da0169a

View File

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