From: Koen Vandeputte Date: Mon, 29 Jul 2019 08:10:02 +0000 (+0200) Subject: ar71xx: fix Mikrotik board detection X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e09da0169a088663f6dab1f71b2a4b690eab21d3;p=openwrt%2Fstaging%2F981213.git 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 --- 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")