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/"