kill FoxTelem at start

pull/128/head
alanbjohnston 5 years ago committed by GitHub
parent 314a15a62c
commit c66ae7b5f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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."
@ -40,8 +42,8 @@ if [ ! -f "$FILE" ]; then
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

Loading…
Cancel
Save

Powered by TurnKey Linux.