projects
/
lede.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05777fb
)
ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection
author
John Crispin
<john@openwrt.org>
Mon, 6 Oct 2014 04:53:25 +0000
(
04:53
+0000)
committer
John Crispin
<john@openwrt.org>
Mon, 6 Oct 2014 04:53:25 +0000
(
04:53
+0000)
[ ] conditions should use = instead of == for string equality.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 42796
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 e4f780c8d5ba6366c07f02386d6ee97185f658c1..d11c2823c92591d5ab13056392d7a0d31d234cf6 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/
target/linux/ar71xx/base-files/lib/ar71xx.sh
@@
-152,7
+152,7
@@
tplink_board_detect() {
model="TP-Link TL-WA901N/ND"
;;
"094100"*)
- if [ "$hwid" =
= "09410002" -a "$mid" =
= "00420001" ]; then
+ if [ "$hwid" =
"09410002" -a "$mid"
= "00420001" ]; then
model="Rosewill RNX-N360RT"
hwver=""
else