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