quit if no choice made

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

@ -36,22 +36,26 @@ frequency=$(zenity --list --width=510 --height=320 --title="Packet Decoding with
if [ -z "$frequency" ]; then
echo
echo "No choice made. Exiting."
echo "Choose the number for the frequency for packet decoding:"
echo
echo "1. APRS US 2m (144390 kHz)"
echo "2. CubeSatSim (434900 kHz)"
echo "3. APRS European 2m (144800 kHz)"
echo "4. APRS Australian 2m (145175 kHz)"
echo "5. APRS on another frequency"
echo "6. APRS on ISS (145825 kHz)"
echo "7. Serenity CubeSat 4800 bps (437100 kHz)"
echo "8. Test Serenity CubeSat decoding with WAV file"
sleep 3
echo
exit
#echo "Choose the number for the frequency for packet decoding:"
#echo
#echo "1. APRS US 2m (144390 kHz)"
#echo "2. CubeSatSim (434900 kHz)"
#echo "3. APRS European 2m (144800 kHz)"
#echo "4. APRS Australian 2m (145175 kHz)"
#echo "5. APRS on another frequency"
#echo "6. APRS on ISS (145825 kHz)"
#echo "7. Serenity CubeSat 4800 bps (437100 kHz)"
#echo "8. Test Serenity CubeSat decoding with WAV file"
#echo
read -r choice
#read -r choice
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.