summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-network-server
diff options
context:
space:
mode:
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