From 0509073dcbc6f402f30bbb6b192d7336b7a01f31 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 19:05:08 -0400 Subject: [PATCH] Update config -c restart --- config | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/config b/config index dbbaae6e..eb21fb9e 100755 --- a/config +++ b/config @@ -632,25 +632,13 @@ elif [ "$1" = "-c" ]; then if [ -z $callsign ] ; then callsign="$1" echo "Keeping value of" $callsign - norestart=1 else - + restart=1 echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} > /home/pi/CubeSatSim/sim.cfg fi - - if [ "$norestart" = "1" ]; then - echo - else - echo -## echo "Rebooting CubeSatSim with new configuration file" -## echo - reboot=1 -## sudo reboot now -# sudo systemctl restart cubesatsim - fi elif [ "$1" = "-r" ]; then