added cpulimit &

pull/78/head
alanbjohnston 5 years ago committed by GitHub
parent 2507048f8f
commit 53f0c5a985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,8 +15,9 @@ if [[ ("$1" = "a" ) || (("$1" = "c") && ("$(($y %4))" = 3)) ]]; then
echo "Mode is continuous AFSK"
/home/pi/CubeSatSim/radioafsk afsk
elif [[ ("$1" = "b" ) || (("$1" = "c") && ("$(($y %4))" = 1)) ]]; then
echo "Mode is continuous BPSK"
/home/pi/CubeSatSim/radioafsk bpsk
echo "Mode is continuous BPSK"
sudo cpulimit -l 5 -P radioafsk &
/home/pi/CubeSatSim/radioafsk bpsk
elif [[ ("$1" = "s" ) || (("$1" = "c") && ("$(($y %4))" = 2)) ]]; then
echo "Mode is continuous SSTV"
while true; do sleep 5; done

Loading…
Cancel
Save

Powered by TurnKey Linux.