aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Rabier <taziden@flexiden.org>2019-02-04 21:03:35 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-02 01:57:49 +0100
commite838957ad9e8839d77030326cad650a518985f44 (patch)
tree37139b48a908f2ac9936962b38c09b67a4bf1517
parent6b128326df105140f0b1fcbcd2af5c4c80b04242 (diff)
downloadupstream-e838957ad9e8839d77030326cad650a518985f44.tar.gz
upstream-e838957ad9e8839d77030326cad650a518985f44.tar.bz2
upstream-e838957ad9e8839d77030326cad650a518985f44.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> (cherry picked from commit 6570f3c93aa4110efd1466a6b89742c2e11d7c11)
-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 ccbd4e77c3..7f214fe600 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -1073,7 +1073,7 @@ ar71xx_board_detect() {
*"RouterBOARD 921GS-5HPacD r2")
name="rb-921gs-5hpacd-r2"
;;
- *"RouterBOARD 941-2nD")
+ *"RouterBOARD"*"941-2nD")
name="rb-941-2nd"
;;
*"RouterBOARD 951G-2HnD")