Update pacsatsim.sh fix loopback variable

pacsat-v2.2-tlm3
Alan Johnston 4 weeks ago committed by GitHub
parent ff744c5fd7
commit 7fa62b4ea1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,6 +2,13 @@
# script to run PacsatSim # script to run PacsatSim
loopback=0
if [ "$1" = "l" ] ; then
loopback=1
fi
if [ ! -d "/home/pi/PacSat" ]; then if [ ! -d "/home/pi/PacSat" ]; then
echo "Setting up PacSatSim default configuration" echo "Setting up PacSatSim default configuration"
@ -125,14 +132,15 @@ echo
if [ ! "$1" = "l" ]; then if [ "$loopback" = "1" ]; then
#/usr/bin/x-terminal-emulator --geometry=120x40 -e "/home/pi/CubeSatSim/groundstation/pacsat-df.sh"
echo "Using TXC FM transceiver"
/home/pi/CubeSatSim/pacsatsim-df.sh &
else
echo "Using audio loopback" echo "Using audio loopback"
/home/pi/CubeSatSim/pacsatsim-d.sh & /home/pi/CubeSatSim/pacsatsim-d.sh &
else
echo "Using TXC FM transceiver"
/home/pi/CubeSatSim/pacsatsim-df.sh &
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.