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=1172d809f286ca75b146262d3fe381ddcb4b51ec;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: 76c963bb01fb ("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")