summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-network-server
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2023-05-17 16:30:24 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2023-05-17 16:30:24 -0500
commitf6e47a0e6238c1922c090a7ed01876782141ad03 (patch)
treed8372f6e87fa7c242349c89cb66f761755fec27c /recipes-connectivity/lora/lora-network-server
parenta0d3d12cb3c6fae65fa2d9a398b25f9ad6ce69e1 (diff)
downloadmeta-mlinux-f6e47a0e6238c1922c090a7ed01876782141ad03.tar.gz
meta-mlinux-f6e47a0e6238c1922c090a7ed01876782141ad03.tar.bz2
meta-mlinux-f6e47a0e6238c1922c090a7ed01876782141ad03.zip
Added 003 config files for all channel plans
Diffstat (limited to 'recipes-connectivity/lora/lora-network-server')
-rwxr-xr-xrecipes-connectivity/lora/lora-network-server/lora-network-server.init4
1 files changed, 4 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 8b03428..f6243c4 100755
--- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init
+++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init
@@ -285,6 +285,10 @@ do_start() {
mkdir -p $run_dir/1
mkdir -p $run_dir/2
+ # remove any existing json configs from other init scripts
+ rm -rf $run_dir/1/*.json
+ rm -rf $run_dir/2/*.json
+
read_lora_hw_info
if ! [ -f $conf_file ]; then