From 980d93f05a4a3fa3e46bfc7c4425c70540e83f5c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 22 Jul 2024 15:58:09 -0400 Subject: [PATCH] Update config put back -n prompt --- config | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/config b/config index 8eca1066..4a454d1e 100755 --- a/config +++ b/config @@ -1255,9 +1255,16 @@ elif [ "$1" = "-n" ]; then echo "changing CubeSatSim to Transmit Commands mode" - sudo echo "n" > /home/pi/CubeSatSim/.mode - restart=1 - + if [ "$1" = "n" ]; then + echo "Turning Transmit Command and Control mode OFF" + echo "Switching to FSK mode" + sudo echo "f" > /home/pi/CubeSatSim/.mode + reboot=1 + else + echo "Turning Transmit Command and Control mode ON" + sudo echo "n" > /home/pi/CubeSatSim/.mode + restart=1 + fi elif [ "$1" = "-A" ]; then