From 3fa62ee10d8960f5b2217c72a2012477f96c4e10 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Fri, 19 May 2023 10:14:29 -0500 Subject: Added spi setup for dual cards in pkf mode --- .../lora/lora-packet-forwarder/lora-packet-forwarder.init | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init index 1e54d65..dbc1cb7 100755 --- a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init +++ b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init @@ -370,6 +370,7 @@ do_start() { program stop = \"$daemon_stop --pidfile $pkt_fwd_pidfile --retry 5\"" > /etc/monit.d/lora-pkt-fwd-1 if [ "$dual_cards_installed" == "true" ]; then + pkt_fwd_options=" -p 2" pkf_2_exec="exec $pkt_fwd_2 $pkt_fwd_options -l $pkt_fwd_2_log" $daemon_start --chdir $run_dir/2 --make-pidfile --pidfile $pkt_fwd_2_pidfile --startas /bin/bash -- -c "$pkf_2_exec" echo "check process lora-pkt-fwd-2 with pidfile $pkt_fwd_2_pidfile -- cgit v1.2.3