From 4b03dcf19eb174eab952163bd63fef6c8e222da5 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 9 Oct 2021 21:24:24 -0400 Subject: [PATCH] exit if no choice made --- groundstation/fox-run.sh | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/groundstation/fox-run.sh b/groundstation/fox-run.sh index ba53ff30..fd9d7b84 100755 --- a/groundstation/fox-run.sh +++ b/groundstation/fox-run.sh @@ -17,18 +17,24 @@ if [ ! -f "$FILE" ]; then echo $profile 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" + + 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 + #read -r ANS fi