From af39c62a32133984c0e2f5d46452e0a668e619a0 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 8 Oct 2021 10:11:31 -0400 Subject: [PATCH] removed read since didn't work for OK --- groundstation/cubicsdr-packet.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/groundstation/cubicsdr-packet.sh b/groundstation/cubicsdr-packet.sh index 647c4b20..8b1a34b0 100755 --- a/groundstation/cubicsdr-packet.sh +++ b/groundstation/cubicsdr-packet.sh @@ -67,13 +67,13 @@ if [ "$choice" = "1" ] || [ "$frequency" = "144390" ] ; then echo - echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" +# echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" - result=$(zenity --info --error --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 +# [[ ! -z "$result" ]] && read input direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf.conf -r 48000 -t 0