From edede8837fbd64d0670e582bf98b7ecd4255d6d9 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 4 Jun 2019 20:41:46 -0400 Subject: [PATCH] Update sdr.sh --- groundstation/sdr.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/groundstation/sdr.sh b/groundstation/sdr.sh index bb2f0618..46cd58e4 100644 --- a/groundstation/sdr.sh +++ b/groundstation/sdr.sh @@ -7,9 +7,12 @@ echo -e "IP Address to use in web browsers is: " hostname -I|cut -f1 -d ' ' -# kill openwebrx if running +# kill rtl if running ps -ef | grep rtl | grep -v grep | awk '{print $2}' | sudo xargs kill +# kill openwebrx process if running +ps -ef | grep openwebrx | grep -v grep | awk '{print $2}' | sudo xargs kill + cd ../openwebrx sudo python openwebrx.py