From 3776c62b093f074dc38013f82cffbc983c271d78 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Jun 2024 11:27:37 -0400 Subject: [PATCH] Update command added debug mode d --- command | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/command b/command index 71db8d2e..b995446d 100755 --- a/command +++ b/command @@ -18,6 +18,15 @@ echo -e "\nCommand and Control script for CubeSatSim v1.3.2\n" echo "Starting direwolf" +if [ "$1" = "d" ]; then + +echo "debug mode" + direwolf -c /home/pi/CubeSatSim/direwolf-cc.conf -t 0l | python3 /home/pi/CubeSatSim/aprs_in.py d - +else + +direwolf -c /home/pi/CubeSatSim/direwolf-cc.conf -t 0l | python3 /home/pi/CubeSatSim/aprs_in.py + +fi +