From 2edcfb80583e7cbef60149296b137536afaf8349 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 20 Jul 2024 18:29:50 -0400 Subject: [PATCH] Update config don't reboot for any mode changes --- config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config b/config index b610cf0a..318739be 100755 --- a/config +++ b/config @@ -366,6 +366,7 @@ elif [ "$1" = "-a" ]; then echo "changing CubeSatSim to AFSK mode" sudo echo "a" > /home/pi/CubeSatSim/.mode if [ "$1" == "f" ] || [ "$1" == "b" ] ; then +# restart=1 reboot=1 else restart=1 @@ -387,7 +388,8 @@ elif [ "$1" = "-m" ]; then echo "changing CubeSatSim to CW mode" sudo echo "m" > /home/pi/CubeSatSim/.mode if [ "$1" == "f" ] || [ "$1" == "b" ] ; then - reboot=1 +# reboot=1 + restart=1 else restart=1 fi @@ -442,7 +444,8 @@ elif [ "$1" = "-s" ]; then echo "changing CubeSatSim to SSTV mode" sudo echo "s" > /home/pi/CubeSatSim/.mode if [ "$1" == "f" ] || [ "$1" == "b" ] ; then - reboot=1 +# reboot=1 + restart=1 else restart=1 fi