diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-07-29 10:10:02 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-02 02:05:42 +0100 |
commit | 471baf3f741cb584e810368756dddf3bab333319 (patch) | |
tree | 21ef407137c91a1267e521e01a5393e51467d9d0 | |
parent | 336aaedc9c6b0eef7b39a7082ec6ab99f0a14c78 (diff) | |
download | upstream-471baf3f741cb584e810368756dddf3bab333319.tar.gz upstream-471baf3f741cb584e810368756dddf3bab333319.tar.bz2 upstream-471baf3f741cb584e810368756dddf3bab333319.zip |
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 <koen.vandeputte@ncentric.com>
(cherry picked from commit e09da0169a088663f6dab1f71b2a4b690eab21d3)
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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") |