From 86a8db02a49396df1a16fd29cedfe9f1ae550448 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 4 Jul 2021 15:36:56 -0400 Subject: [PATCH] sleep 2 after stop openwebrx --- groundstation/rtl-tcp-d.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/groundstation/rtl-tcp-d.sh b/groundstation/rtl-tcp-d.sh index 4fbaede4..ee6741bf 100755 --- a/groundstation/rtl-tcp-d.sh +++ b/groundstation/rtl-tcp-d.sh @@ -17,6 +17,10 @@ echo "Note: you need to be on the Wifi network: $ssid" echo +sudo systemctl stop openwebrx + +sleep 2 + sudo killall -9 java &>/dev/null sudo killall -9 rtl_fm &>/dev/null @@ -27,8 +31,6 @@ sudo killall -9 qsstv &>/dev/null sudo systemctl stop rtl_tcp -sudo systemctl stop openwebrx - sudo /bin/sh -c '/usr/local/bin/rtl_tcp -a $(hostname -I|cut -f1 -d " ") -D 2' $SHELL