quit if no choice made

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

@ -40,20 +40,26 @@ frequency=$(zenity --list 2>/dev/null --width=410 --height=360 --title="Packet D
if [ -z "$frequency" ]; then if [ -z "$frequency" ]; then
echo "Choose the number for the packet decoding option:" echo "No choice made. Exiting."
echo
echo "1. APRS US 2m (144390 kHz)" sleep 3
echo "2. CubeSatSim (434900 kHz)"
echo "3. APRS European 2m (144800 kHz)" exit
echo "4. APRS Australian 2m (145175 kHz)"
echo "5. APRS on another frequency" #echo "Choose the number for the packet decoding option:"
echo "6. APRS on ISS (145825 kHz)" #echo
echo "7. Serenity CubeSat 4800 bps (437.1 MHz)" #echo "1. APRS US 2m (144390 kHz)"
echo "8. Test Serenity CubeSat decoding with WAV file" #echo "2. CubeSatSim (434900 kHz)"
echo "9. Test APRS decoding with CubeSatSim WAV file" #echo "3. APRS European 2m (144800 kHz)"
echo #echo "4. APRS Australian 2m (145175 kHz)"
#echo "5. APRS on another frequency"
read -r choice #echo "6. APRS on ISS (145825 kHz)"
#echo "7. Serenity CubeSat 4800 bps (437.1 MHz)"
#echo "8. Test Serenity CubeSat decoding with WAV file"
#echo "9. Test APRS decoding with CubeSatSim WAV file"
#echo
#read -r choice
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.