From 1d842ab5e7e41cc99b3e398108880d978ba634c5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 1 Jun 2026 11:37:51 -0400 Subject: [PATCH] Update command.sh do all modes --- groundstation/command.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/groundstation/command.sh b/groundstation/command.sh index 4e99b0bd..4d2985de 100755 --- a/groundstation/command.sh +++ b/groundstation/command.sh @@ -8,8 +8,8 @@ set -- $value if [ "$1" != "n" ]; then - echo "Do you want to change to Transmit Commands mode?" - + echo "You are not in Transmit Commands mode" + sleep 10 exit fi @@ -26,16 +26,16 @@ echo $mode if [ -z "$mode" ]; then -echo "No choice made." + echo "No choice made." + sleep 10 + + exit fi -if [ "$mode" = "a" ]; then +/home/pi/CubeSatSim/config -$mode +sleep 10 - echo "Change to APRS mode" - /home/pi/CubeSatSim/config -a - -fi