From 953cb4a7376c1a666f062bfe3142fff19df3012a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 3 Jul 2024 13:44:20 -0400 Subject: [PATCH] Update command if direwolf mode but no soundcard, print --- command | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/command b/command index 9d96cb24..1f72333c 100755 --- a/command +++ b/command @@ -44,7 +44,17 @@ if [[ $(arecord -l | grep card) ]] && [ -f "$FILE" ]; then fi else - echo "Starting Carrier (squelch) Command and Control" + + if [ -f "$FILE" ]; then + + echo "Direwolf mode set but no USB soundcard detected!" + echo "Instead, starting Carrier (squelch) Command and Control" + + else + + echo "Starting Carrier (squelch) Command and Control" + + fi if [ "$1" = "d" ]; then