projects
/
openwrt
/
staging
/
lynxis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
077253d
)
ar71xx: fix RB941-2nD detection
author
Julien Rabier
<
[email protected]
>
Mon, 4 Feb 2019 20:03:35 +0000
(21:03 +0100)
committer
Koen Vandeputte
<
[email protected]
>
Fri, 8 Feb 2019 16:27:47 +0000
(17:27 +0100)
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 <
[email protected]
>
[Alter string to include all flavours + slight rewrite of commit msg]
Signed-off-by: Koen Vandeputte <
[email protected]
>
target/linux/ar71xx/base-files/lib/ar71xx.sh
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/base-files/lib/ar71xx.sh
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 96ee7550ce95ca2229d0328b090f7b4c19859513..95fa247f4bef053074be279879a04ca8728d6065 100755
(executable)
--- 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")