From b6a82762608d290bc0b51d887b411253eb4f9aad Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 3 Jul 2024 11:29:11 -0400 Subject: [PATCH] Update config added -Q --- config | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config b/config index ddd9a25e..baba560e 100755 --- a/config +++ b/config @@ -690,6 +690,14 @@ elif [ "$1" = "-q" ]; then ## sudo reboot now # sudo systemctl restart cubesatsim +elif [ "$1" = "-Q" ]; then + + echo + echo "Reading current Squelch for 10 seconds" + echo "Squelch is active low (0 means squelch broken)" + echo + + timeout 10 bash -c -- 'while true; do (gpio read 22 && sleep 1); done' elif [ "$1" = "-P" ]; then