From fa60c6333d787a5388fbf6cc2f27e83d85df3c7f Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 8 Oct 2021 10:05:13 -0400 Subject: [PATCH] echo result --- groundstation/cubicsdr-packet.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/groundstation/cubicsdr-packet.sh b/groundstation/cubicsdr-packet.sh index 27ca94a8..6cbe69f0 100755 --- a/groundstation/cubicsdr-packet.sh +++ b/groundstation/cubicsdr-packet.sh @@ -69,7 +69,9 @@ if [ "$choice" = "1" ] || [ "$frequency" = "144390" ] ; then echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" - result=$(zenity --info 2>/dev/null --width=650 --height=140 --title="Instructions" --text="When CubicSDR opens, select Generic RTL2832 device then click Start to begin.\n\nThen select File/Session/Open Session then load CubeSatSim/groundstation/cubicsdr-session/cubicsdr-aprs-direwolf.xml then Open.\n\nNote that you won't hear anything as the audio is routed to Direwolf for decoding. To hear the signal, change the Audio Out setting.\n\nThen click OK to start Direwolf!") + result=$(zenity --info --width=650 --height=140 --title="Instructions" --text="When CubicSDR opens, select Generic RTL2832 device then click Start to begin.\n\nThen select File/Session/Open Session then load CubeSatSim/groundstation/cubicsdr-session/cubicsdr-aprs-direwolf.xml then Open.\n\nNote that you won't hear anything as the audio is routed to Direwolf for decoding. To hear the signal, change the Audio Out setting.\n\nThen click OK to start Direwolf!") + + echo $result [[ ! -z "$result" ]] && read input