summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2023-04-26 14:06:37 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2023-04-26 14:06:37 -0500
commit01dcf2af83bc5817a7dd8a4dff346548002269d6 (patch)
tree0dc4e5ab16a83993612fa43c632a9b11684d001e /recipes-connectivity/lora
parent5ddd514e8fca35cc08a0b983a31ca6ba3a9922b3 (diff)
downloadmeta-mlinux-01dcf2af83bc5817a7dd8a4dff346548002269d6.tar.gz
meta-mlinux-01dcf2af83bc5817a7dd8a4dff346548002269d6.tar.bz2
meta-mlinux-01dcf2af83bc5817a7dd8a4dff346548002269d6.zip
Revert "Bug fix: lns init script 003"
This reverts commit f1ea96b078ac57132a3516b0dca8ffbe330d9095.
Diffstat (limited to 'recipes-connectivity/lora')
-rwxr-xr-xrecipes-connectivity/lora/lora-network-server/lora-network-server.init9
1 files changed, 6 insertions, 3 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 862f97a..530e9b9 100755
--- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init
+++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init
@@ -31,7 +31,6 @@ port2=/sys/devices/platform/mts-io/ap2
lora_1_0_hw="MTAC-LORA-1.0"
lora_1_5_h_hw="MTAC-LORA-1.5"
lora_2_1_hw="MTAC-LORA-2.1"
-lora_2g4_hw="MTAC-LORA-2G4-0.0"
lora_mtac_id="MTAC-LORA"
lora_mtac_003_id="MTAC-003"
@@ -42,12 +41,15 @@ lora_mtcap_id="MTCAP-LORA"
lora_mtcap_id868="MTCAP-LORA-868"
lora_mtcap_id915="MTCAP-LORA-915"
+mtcdt3_id="MTCDT3"
+lora_mtcdt3_id="MTCDT3-LORA"
+lora_mtcdt3_id868="MTCDT3-LORA-868"
+lora_mtcdt3_id915="MTCDT3-LORA-915"
+
lora_mtcap3_id="MTCAP3"
lora_mtcap3_id868="MTCAP3-003E00"
lora_mtcap3_id915="MTCAP3-003U00"
-lora_mtac_2g4_id="MTAC-LORA-2G4"
-
lora_mtac_g_id="MTAC-LORA-G"
lora_mtac_g16_id868="MTAC-LORA-G16-868"
lora_mtac_g16_id915="MTAC-LORA-G16-915"
@@ -263,6 +265,7 @@ hardware_found() {
fi
}
+
do_start() {
# create run directory
mkdir -p $run_dir/1