From fe43a2e4b91c499173394baba9bbdceab9254cce Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 21 Jul 2024 15:17:21 -0400 Subject: [PATCH] Update config fix -m and -a for no reboot if mode b --- config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config b/config index dbbc2658..1af687af 100755 --- a/config +++ b/config @@ -365,7 +365,7 @@ elif [ "$1" = "-a" ]; then echo "changing CubeSatSim to AFSK mode" sudo echo "a" > /home/pi/CubeSatSim/.mode - if [ "$1" == "f" ] || [ "$1" == "b" ] ; then + if [ "$1" == "f" ] ; then # restart=1 reboot=1 else @@ -387,7 +387,7 @@ elif [ "$1" = "-m" ]; then echo "changing CubeSatSim to CW mode" sudo echo "m" > /home/pi/CubeSatSim/.mode - if [ "$1" == "f" ] || [ "$1" == "b" ] ; then + if [ "$1" == "f" ] ; then # reboot=1 restart=1 else