aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/ar71xx.sh
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-06 04:53:25 +0000
committerJohn Crispin <blogic@openwrt.org>2014-10-06 04:53:25 +0000
commitac7e01ea5ee27b2f52d9a24eb3c22e46908018ad (patch)
treedd71011ec499e0f09e3179c2ae0534856268405f /target/linux/ar71xx/base-files/lib/ar71xx.sh
parent8ae697d7f225e92cf0aef7fa2993979089c23447 (diff)
downloadmaster-187ad058-ac7e01ea5ee27b2f52d9a24eb3c22e46908018ad.tar.gz
master-187ad058-ac7e01ea5ee27b2f52d9a24eb3c22e46908018ad.tar.bz2
master-187ad058-ac7e01ea5ee27b2f52d9a24eb3c22e46908018ad.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42796 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/ar71xx.sh')
-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 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