aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJulien Rabier <taziden@flexiden.org>2019-02-04 21:03:35 +0100
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-02-08 17:27:47 +0100
commit6570f3c93aa4110efd1466a6b89742c2e11d7c11 (patch)
tree73cb3f636139e2acbd6863d52eb73924f38bff39 /target/linux/ar71xx/base-files/lib
parent077253dd666a30ae5231c3748222d4b5b138593d (diff)
downloadupstream-6570f3c93aa4110efd1466a6b89742c2e11d7c11.tar.gz
upstream-6570f3c93aa4110efd1466a6b89742c2e11d7c11.tar.bz2
upstream-6570f3c93aa4110efd1466a6b89742c2e11d7c11.zip
ar71xx: fix RB941-2nD detection
Some hAP lite routers aren't detected because /proc/cpuinfo shows "RouterBOARD RB941-2nD" instead of "RouterBOARD 941-2nD". Fix that. Signed-off-by: Julien Rabier <taziden@flexiden.org> [Alter string to include all flavours + slight rewrite of commit msg] Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-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 96ee7550ce..95fa247f4b 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -1092,7 +1092,7 @@ ar71xx_board_detect() {
*"RouterBOARD 931-2nD")
name="rb-931-2nd"
;;
- *"RouterBOARD 941-2nD")
+ *"RouterBOARD"*"941-2nD")
name="rb-941-2nd"
;;
*"RouterBOARD 951G-2HnD")