diff options
Diffstat (limited to 'recipes-connectivity/lora/lora-network-server/lora-network-server.init')
-rwxr-xr-x | recipes-connectivity/lora/lora-network-server/lora-network-server.init | 6 |
1 files changed, 6 insertions, 0 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 08ad363..eb13720 100755 --- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init +++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init @@ -166,12 +166,18 @@ 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 |