summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-network-server
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-11-28 15:19:02 -0600
committerJason Reiss <jreiss@multitech.com>2016-11-28 15:19:02 -0600
commit732fcf77f5e44524e10d1a3a565b1d3debf7b354 (patch)
tree03ff0c543c99f2dcc97e436f84edf8651c9d4607 /recipes-connectivity/lora/lora-network-server
parent21290b67cea7e60c1c9c319e49df79faf753b0f4 (diff)
downloadmeta-mlinux-732fcf77f5e44524e10d1a3a565b1d3debf7b354.tar.gz
meta-mlinux-732fcf77f5e44524e10d1a3a565b1d3debf7b354.tar.bz2
meta-mlinux-732fcf77f5e44524e10d1a3a565b1d3debf7b354.zip
lora: update lora-network-server init for 1.5 lora-h card
Diffstat (limited to 'recipes-connectivity/lora/lora-network-server')
-rwxr-xr-xrecipes-connectivity/lora/lora-network-server/lora-network-server.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-connectivity/lora/lora-network-server/lora-network-server.init b/recipes-connectivity/lora/lora-network-server/lora-network-server.init
index 0e73148..726aec5 100755
--- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init
+++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init
@@ -52,7 +52,7 @@ card_found() {
if [[ "$lora_id" =~ "$lora_mtac_id" ]]; then
GLOBAL_CONF=/opt/lora/global_conf.json.MTAC_LORA_1_0
- if [ "$lora_hw" = "$lora_hw" ] && [[ ! "$lora_id" =~ .*-SPI ]]; then
+ if [ "$lora_hw" = "$lora_1_0_hw" ] && [[ ! "$lora_id" =~ .*-SPI ]]; then
ln -sf /opt/lora/basic_pkt_fwd-usb $pkt_fwd
else
if [ "$lora_hw" = "$lora_1_5_h_hw" ]; then