From 471baf3f741cb584e810368756dddf3bab333319 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 (cherry picked from commit e09da0169a088663f6dab1f71b2a4b690eab21d3) --- 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 52d6f6522b..78c6cfc809 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -965,7 +965,7 @@ ar71xx_board_detect() { *"MAC1200R") name="mc-mac1200r" ;; - "MikroTik"*) + "Mikrotik"*) name=$(mikrotik_board_detect "$machine") ;; *"MiniBox V1.0") -- 2.30.2