From c66ae7b5f67925b76f560e40e78ce70b6f7b79a6 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 2 Jul 2021 21:20:15 -0400 Subject: [PATCH] kill FoxTelem at start --- groundstation/fox-startup.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/groundstation/fox-startup.sh b/groundstation/fox-startup.sh index ca00e916..0f3b340f 100755 --- a/groundstation/fox-startup.sh +++ b/groundstation/fox-startup.sh @@ -5,6 +5,8 @@ echo "Startup script to run FoxTelem for FIAB v3" echo +sudo killall -9 FoxTelem &>/dev/null + FILE=/home/pi/FoxTelemetryData/.foxprofile if [ ! -f "$FILE" ]; then echo "You need to choose your default FoxTelem profile." @@ -39,10 +41,10 @@ if [ ! -f "$FILE" ]; then sudo sed -i "s/uploadToServer=false/uploadToServer=true/g" /home/pi/FoxTelemetryData/FoxTelem.properties sudo sed -i "s/whenAboveHorizon=false/whenAboveHorizon=true/g" /home/pi/FoxTelemetryData/FoxTelem.properties - - sudo sed -i "s/soundCard=NONE/soundCard=RTL SDR/g" /home/pi/FoxTelemetryData/FoxTelem.properties # change to FunCube - - + +# sudo sed -i "s/soundCard=NONE/soundCard=RTL SDR/g" /home/pi/FoxTelemetryData/FoxTelem.properties # change to FunCube + sudo sed -i "s/soundCard=NONE/soundCard=Direct Audio Device\: FUNcube Dongle V2.0, USB Audi/g" /home/pi/FoxTelemetryData/FoxTelem.properties # change to FunCube + python3 /home/pi/CubeSatSim/groundstation/loc-foxtelem.py # echo "Enter your Maidenhead grid square. It is two letters followed by two numbers followed by two letters with no spaces. If you don't know your gridsquare, you can look it up here https://dxcluster.ha8tks.hu/hamgeocoding/"