From 0ac105e87bdcf8b2c4e9ab4358f59c69fbf883d1 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 2 Jul 2024 20:54:20 -0400 Subject: [PATCH] Update config don't reboot on c&c on/off --- config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config b/config index a854b663..5717e25f 100755 --- a/config +++ b/config @@ -475,9 +475,9 @@ elif [ "$1" = "-T" ]; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then echo "Command and control set to OFF" sudo rm /home/pi/CubeSatSim/command_control - reboot=1 -## echo "rebooting" -## sudo systemctl stop rpitx +# reboot=1 + echo "restarting command and control" + sudo systemctl restart command ## sudo reboot now fi @@ -491,9 +491,9 @@ elif [ "$1" = "-T" ]; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then echo "Command and control set to ON" sudo touch /home/pi/CubeSatSim/command_control -## echo "rebooting" - reboot=1 -## sudo systemctl stop rpitx + echo "restarting command and control" +# reboot=1 + sudo systemctl restart command ## sudo reboot now fi