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

@ -18,17 +18,23 @@ if [ ! -f "$FILE" ]; then
if [ -z "$profile" ]; then
echo "You need to choose your default FoxTelem profile."
echo
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
echo "No choice made. Exiting."
sleep 3
exit
#echo "You need to choose your default FoxTelem profile."
#echo
#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
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.