From 8b8f2690470a2ffe3bf37bfbf3f5a15312008f57 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 30 May 2021 09:27:57 -0400 Subject: [PATCH] added -b for background instead of & for cpulimit --- demo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.sh b/demo.sh index 7b6214ac..0566a9d5 100755 --- a/demo.sh +++ b/demo.sh @@ -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"