ar71xx: fix Mikrotik board detection
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Mon, 29 Jul 2019 08:10:02 +0000 (10:10 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Mon, 29 Jul 2019 08:13:45 +0000 (10:13 +0200)
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 <koen.vandeputte@ncentric.com>
target/linux/ar71xx/base-files/lib/ar71xx.sh

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