From 8348d51484f3272b3908356348eb275f4ff18523 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 28 Nov 2024 13:54:15 -0500 Subject: [PATCH] Update pacsat.sh added cd --- groundstation/pacsat.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/groundstation/pacsat.sh b/groundstation/pacsat.sh index bfaf7235..2cca3cef 100755 --- a/groundstation/pacsat.sh +++ b/groundstation/pacsat.sh @@ -188,6 +188,8 @@ set -- $value #rtl_fm -M fm -f 144.39M -s 48k | aplay -D hw:${2:0:1},0,0 -r 48000 -t raw -f S16_LE -c 1 rtl_fm -M fm -f $frequency -s 48k | tee >(aplay -D hw:${2:0:1},0,0 -r 48000 -t raw -f S16_LE -c 1) | aplay -D hw:0,0 -r 48000 -t raw -f S16_LE -c 1 & -sudo setsid java -Xmx512M -jar /home/pi/Desktop/PacSatGround_0.46m_linux/PacSatGround.jar +cd /home/pi/Desktop/PacSatGround_0.46m_linux/ + +sudo setsid java -Xmx512M -jar PacSatGround.jar sleep 5