exit if no choice made

pull/131/head
alanbjohnston 4 years ago committed by GitHub
parent 83acdec3e8
commit 4b03dcf19e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,18 +17,24 @@ if [ ! -f "$FILE" ]; then
echo $profile echo $profile
if [ -z "$profile" ]; then if [ -z "$profile" ]; then
echo "You need to choose your default FoxTelem profile." echo "No choice made. Exiting."
echo
echo "The choices are:" sleep 3
echo
echo "1. Fox-in-a-Box. Use this profile if you want to receive and decode telemetry from the AMSAT Fox satellites. If you enter a callsign and a grid square, you can upload to the AMSAT telemetry server." exit
echo
echo "2. CubeSatSim Ground Station. Use this profile if you want to receive and decode telemetry from an AMSAT CubeSatSim or CubeSatSim Lite." #echo "You need to choose your default FoxTelem profile."
echo #echo
echo "Which profile do you choose? Enter 1 or 2" #echo "The choices are:"
#echo
#echo "1. Fox-in-a-Box. Use this profile if you want to receive and decode telemetry from the AMSAT Fox satellites. If you enter a callsign and a grid square, you can upload to the AMSAT telemetry server."
#echo
#echo "2. CubeSatSim Ground Station. Use this profile if you want to receive and decode telemetry from an AMSAT CubeSatSim or CubeSatSim Lite."
#echo
#echo "Which profile do you choose? Enter 1 or 2"
read -r ANS #read -r ANS
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.