summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2023-05-18 12:25:44 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2023-05-18 12:25:44 -0500
commit36a139aac812db74afae953755d31742c611e41f (patch)
treeed3d94f7d7598b019fff6917d88adee9216b8fc9
parentff724f15c748ef39dc91e465b0cfa4b0dfad7f9d (diff)
downloadmeta-mlinux-36a139aac812db74afae953755d31742c611e41f.tar.gz
meta-mlinux-36a139aac812db74afae953755d31742c611e41f.tar.bz2
meta-mlinux-36a139aac812db74afae953755d31742c611e41f.zip
Removed lut cp from lns init script
-rwxr-xr-xrecipes-connectivity/lora/lora-network-server/lora-network-server.init6
1 files changed, 0 insertions, 6 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 f6243c4..c5f94cb 100755
--- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init
+++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init
@@ -232,18 +232,12 @@ setup_mtcap() {
GLOBAL_CONF=/opt/lora/global_conf.json.MTCAP_LORA_1_5.EU868
else
GLOBAL_CONF=/opt/lora/global_conf.json.MTCAP2_LORA_1_5.EU868
- if [ "$hw" = "MTCAP-0.3" ]; then
- cp /opt/lora/temp_lut.json.MTCAP2.EU868 /var/run/lora/1/temp_lut.json
- fi
fi
elif [ "$lora_id" = "$lora_mtcap_id915" ]; then
if [ "$hw" = "MTCAP-0.1" ]; then
GLOBAL_CONF=/opt/lora/global_conf.json.MTCAP_LORA_1_5.US915
else
GLOBAL_CONF=/opt/lora/global_conf.json.MTCAP2_LORA_1_5.US915
- if [ "$hw" = "MTCAP-0.3" ]; then
- cp /opt/lora/temp_lut.json.MTCAP2.US915 /var/run/lora/1/temp_lut.json
- fi
fi
else
return 1