From 3b8cab97c534c223df7dc2a82f4b65d10a7c336a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 25 Jun 2025 11:57:14 -0400 Subject: [PATCH] Update packet.sh zenith timeout --- groundstation/packet.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/groundstation/packet.sh b/groundstation/packet.sh index b9ef1b1b..1fe13af7 100755 --- a/groundstation/packet.sh +++ b/groundstation/packet.sh @@ -32,17 +32,15 @@ sudo killall -9 zenity &>/dev/null echo -frequency=$(zenity --list 2>/dev/null --width=410 --height=360 --title="Packet Decoding with Direwolf" --text="Choose the frequency for packet decoding" --column="kHz" --column="Application" 144390 "APRS US 2m" 434900 "CubeSatSim" 144800 "APRS European 2m" 145175 "APRS Australian 2m" Other "Choose another frequency" 145825 "APRS on ISS" 437100 "Serenity CubeSat 4800 bps" Serenity "Test Serenity CubeSat decoding with WAV file" APRS "Test APRS decoding with CubeSatSim WAV file") +frequency=$(zenity --timeout=10 --list 2>/dev/null --width=410 --height=360 --title="Packet Decoding with Direwolf" --text="Choose the frequency for packet decoding" --column="kHz" --column="Application" 144390 "APRS US 2m" 434900 "CubeSatSim" 144800 "APRS European 2m" 145175 "APRS Australian 2m" Other "Choose another frequency" 145825 "APRS on ISS" 437100 "Serenity CubeSat 4800 bps" Serenity "Test Serenity CubeSat decoding with WAV file" APRS "Test APRS decoding with CubeSatSim WAV file") #echo $frequency if [ -z "$frequency" ]; then -echo "No choice made. Exiting." +echo "No choice made." -sleep 3 - -exit +frequency=434900 #echo "Choose the number for the packet decoding option:" #echo