added -m to cpulimit to monitor forks

pull/126/head
alanbjohnston 5 years ago committed by GitHub
parent 2f47c5fb5e
commit c7f6c7dda0
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 -P radioafsk &
sudo cpulimit -l 5 -m -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.