From f95b38782b9241730df48d115df60d1adb4a196d Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 9 Oct 2021 21:14:01 -0400 Subject: [PATCH] quit if no choice made in gui --- groundstation/sstv_decode_prompt.sh | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/groundstation/sstv_decode_prompt.sh b/groundstation/sstv_decode_prompt.sh index 6da17729..8dc4a3ff 100755 --- a/groundstation/sstv_decode_prompt.sh +++ b/groundstation/sstv_decode_prompt.sh @@ -42,16 +42,20 @@ echo $frequency if [ -z "$frequency" ]; then -echo +echo "No choice made. Exiting." -echo "Choose the number for the frequency for SSTV decoding:" -echo "1. ISS (145800Hz)" -echo "2. CubeSatSim (434900 kHz)" -echo "3. Enter a frequency in kiloHertz" -echo "4. Play an SSTV WAV file to test" -echo +sleep 3 + +exit + +#echo "Choose the number for the frequency for SSTV decoding:" +#echo "1. ISS (145800Hz)" +#echo "2. CubeSatSim (434900 kHz)" +#echo "3. Enter a frequency in kiloHertz" +#echo "4. Play an SSTV WAV file to test" +#echo -read -r choice +#read -r choice fi