From 8b938a7ab86f20b70d06dcd9f97178d8f433b7e0 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 2 Jul 2024 11:44:50 -0400 Subject: [PATCH] Update command add test for command_control_direwolf --- command | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/command b/command index 90b4942e..a136a93f 100755 --- a/command +++ b/command @@ -19,9 +19,8 @@ sleep 20 exit 1 fi - -# if [[ $(grep 'dtparam=audio=on' /boot/config.txt) ]]; then - if [[ $(arecord -l | grep card) ]]; then +FILE=/home/pi/CubeSatSim/command_control_direwolf +if [[ $(arecord -l | grep card) ]] && [ -f "$FILE" ]; then echo "Starting direwolf"