summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-network-server
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2018-01-25 11:00:02 -0600
committerJason Reiss <jreiss@multitech.com>2018-01-25 11:00:02 -0600
commit8a0827b4aded5a7ded8f28629ec924b1b8043932 (patch)
tree8710c6407470ef1402b02615ef353cb5324a9ccf /recipes-connectivity/lora/lora-network-server
parent66c5dcb3e31a52fc46fcf5ba16210fe69bc7f558 (diff)
downloadmeta-mlinux-8a0827b4aded5a7ded8f28629ec924b1b8043932.tar.gz
meta-mlinux-8a0827b4aded5a7ded8f28629ec924b1b8043932.tar.bz2
meta-mlinux-8a0827b4aded5a7ded8f28629ec924b1b8043932.zip
lora: remove mtcap network server recipe, remove db path from network server init script as it can be specified in the config file
Diffstat (limited to 'recipes-connectivity/lora/lora-network-server')
-rwxr-xr-xrecipes-connectivity/lora/lora-network-server/lora-network-server.init3
1 files changed, 1 insertions, 2 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 032a0f7..dec846f 100755
--- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init
+++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init
@@ -12,7 +12,6 @@ ENABLED="yes"
run_dir=/var/run/lora
conf_dir=/var/config/lora
conf_file=$conf_dir/lora-network-server.conf
-conf_db=$conf_dir/lora-network-server.db
net_server=/opt/lora/lora-network-server
@@ -119,7 +118,7 @@ do_start() {
start-stop-daemon --start --background --make-pidfile \
--pidfile $net_server_pidfile --startas /bin/bash -- -c "exec $net_server \
-c $conf_file --lora-eui $lora_eui --lora-prod-1 $lora_id --lora-hw-1 $lora_hw \
- --lora-path $run_dir --db $conf_db \
+ --lora-path $run_dir \
--noconsole -l $net_server_log >> $net_server_log 2>&1"
sleep 2
# start packet forwarder