added -b for background instead of & for cpulimit

pull/126/head
alanbjohnston 5 years ago committed by GitHub
parent c7f6c7dda0
commit 8b8f269047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,7 +16,7 @@ if [[ ("$1" = "a" ) || (("$1" = "c") && ("$(($y %4))" = 3)) ]]; then
/home/pi/CubeSatSim/radioafsk afsk
elif [[ ("$1" = "b" ) || (("$1" = "c") && ("$(($y %4))" = 1)) ]]; then
echo "Mode is continuous BPSK"
sudo cpulimit -l 5 -m -P radioafsk &
sudo cpulimit -l 5 -m -b -P radioafsk
/home/pi/CubeSatSim/radioafsk bpsk
elif [[ ("$1" = "s" ) || (("$1" = "c") && ("$(($y %4))" = 2)) ]]; then
echo "Mode is continuous SSTV"

Loading…
Cancel
Save

Powered by TurnKey Linux.