diff options
author | John Crispin <john@openwrt.org> | 2014-10-06 04:53:25 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-10-06 04:53:25 +0000 |
commit | 7f772910a17db1cbc903afe3d3eb5f4aa9ac43fd (patch) | |
tree | bac6b682a16f3ed70096dd11c100da0b4eb63bca /target/linux/ar71xx | |
parent | 05777fb9470333974feb22775f16057c34c0ccf4 (diff) | |
download | upstream-7f772910a17db1cbc903afe3d3eb5f4aa9ac43fd.tar.gz upstream-7f772910a17db1cbc903afe3d3eb5f4aa9ac43fd.tar.bz2 upstream-7f772910a17db1cbc903afe3d3eb5f4aa9ac43fd.zip |
ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection
[ ] conditions should use = instead of == for string equality.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 42796
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 2 |
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 e4f780c8d5..d11c2823c9 100755 --- 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 |