aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2019-07-29 10:10:02 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-07-29 10:13:45 +0200
commite09da0169a088663f6dab1f71b2a4b690eab21d3 (patch)
treed106811c5e99738bf35bef6c8445345ca3435c45 /target/linux/ar71xx/base-files
parent6a7b201b6c5c82d3d8d392ae931100c1909869e0 (diff)
downloadupstream-e09da0169a088663f6dab1f71b2a4b690eab21d3.tar.gz
upstream-e09da0169a088663f6dab1f71b2a4b690eab21d3.tar.bz2
upstream-e09da0169a088663f6dab1f71b2a4b690eab21d3.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>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh2
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 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")