From feb9c809093a5c61611f3e17bfb8ab5ba213b66c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 8 Jul 2024 16:12:13 -0400 Subject: [PATCH] Update config add warning about no sound card if dire wolf is chosen --- config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config b/config index 62149c36..20e45c1b 100755 --- a/config +++ b/config @@ -505,6 +505,11 @@ elif [ "$1" = "-d" ]; then echo echo "Change command and control Direwolf state" echo + if [[ $(arecord -l | grep card) ]] && [ -f "$FILE" ]; then + else + echo "Note: No USB Sound Card is plugged in!" + echo "Direwolf will not run unless one is plugged in." + fi FILE=/home/pi/CubeSatSim/command_control_direwolf if [ -f "$FILE" ]; then