From e09da0169a088663f6dab1f71b2a4b690eab21d3 Mon Sep 17 00:00:00 2001 From: Koen Vandeputte Date: Mon, 29 Jul 2019 10:10:02 +0200 Subject: [PATCH] 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: acf2b6c8881b ("ar71xx: base-files: fix board detect on new MikroTik devices") Signed-off-by: Koen Vandeputte --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index c795fee466..bb022c1345 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -1001,7 +1001,7 @@ ar71xx_board_detect() { *"MAC1200R") name="mc-mac1200r" ;; - "MikroTik"*) + "Mikrotik"*) name=$(mikrotik_board_detect "$machine") ;; *"MiniBox V1.0")