summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2020-03-09 15:05:58 -0500
committerJohn Klug <john.klug@multitech.com>2020-06-18 20:22:07 -0500
commitc4d5925d4c089b600e2b1ff7cc72185bf1950b98 (patch)
treeb29d367a9d1e8869c6a3cf31e3b97e5d3fd48330 /recipes-connectivity/lora
parent50d9055801fe3feca6620c7a92d37577bc249541 (diff)
downloadmeta-mlinux-c4d5925d4c089b600e2b1ff7cc72185bf1950b98.tar.gz
meta-mlinux-c4d5925d4c089b600e2b1ff7cc72185bf1950b98.tar.bz2
meta-mlinux-c4d5925d4c089b600e2b1ff7cc72185bf1950b98.zip
lora: update packet forwarder init script
Diffstat (limited to 'recipes-connectivity/lora')
-rwxr-xr-xrecipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init
index 99463f6..1ac5bda 100755
--- a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init
+++ b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init
@@ -74,9 +74,9 @@ setup_mtcdt() {
if [ "$lora_hw" = "$lora_1_0_hw" ] && [[ ! "$lora_id" =~ .*-SPI ]]; then
if [ "$lora_id" = "$lora_mtac_id868" ]; then
- GLOBAL_CONF=/opt/lora/global_conf.json.MTCDT_LORA_1_0.EU868
+ GLOBAL_CONF=/opt/lora/global_conf.json.MTAC_LORA_1_0.EU868
elif [ "$lora_id" = "$lora_mtac_id915" ]; then
- GLOBAL_CONF=/opt/lora/global_conf.json.MTCDT_LORA_1_0.US915
+ GLOBAL_CONF=/opt/lora/global_conf.json.MTAC_LORA_1_0.US915
else
echo "No valid configuration found for mtcdt exiting."
exit 1
@@ -84,9 +84,9 @@ setup_mtcdt() {
ln -sf /opt/lora/basic_pkt_fwd-usb $pkt_fwd
else
if [ "$lora_id" = "$lora_mtac_h_id868" ]; then
- GLOBAL_CONF=/opt/lora/global_conf.json.MTCDT_LORA_1_5.EU868
+ GLOBAL_CONF=/opt/lora/global_conf.json.MTAC_LORA_1_5.EU868
elif [ "$lora_id" = "$lora_mtac_h_id915" ]; then
- GLOBAL_CONF=/opt/lora/global_conf.json.MTCDT_LORA_1_5.US915
+ GLOBAL_CONF=/opt/lora/global_conf.json.MTAC_LORA_1_5.US915
else
echo "No valid configuration found for mtcdt exiting."
exit 1