Update pacsat-config.sh change options

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

@ -11,10 +11,10 @@ sudo killall -9 java &>/dev/null
sudo killall -9 zenity &>/dev/null sudo killall -9 zenity &>/dev/null
FILE=/home/pi/.pacsatprofile #FILE=/home/pi/.pacsatprofile
if [ ! -f "$FILE" ]; then #if [ ! -f "$FILE" ]; then
profile=$(zenity --text="Choice:" --list 2>/dev/null --width=410 --height=120 --title="PacSat Ground Station Choice" --column="Choice" --column="Result" "PacSat" "Receive from CubeSatSim PacSatSim" "Configure" "Configure PacSat Ground Station" "Loopback" "Run a Locally Simulated PacSat") profile=$(zenity --text="Choice:" --list 2>/dev/null --width=410 --height=120 --title="PacSat Ground Station Choice" "PacSat" "Receive from CubeSatSim PacSatSim" "Configure" "Configure PacSat Ground Station" "Loopback" "Run a Locally Simulated PacSat")
echo $profile echo $profile
@ -103,11 +103,11 @@ if [ ! -f "$FILE" ]; then
fi fi
fi #fi
value=`cat /home/pi/FoxTelemetryData/.foxprofile` #value=`cat /home/pi/FoxTelemetryData/.foxprofile`
echo "$value" > /dev/null #echo "$value" > /dev/null
set -- $value #set -- $value
sudo killall -9 java &>/dev/null sudo killall -9 java &>/dev/null

Loading…
Cancel
Save

Powered by TurnKey Linux.