From f5d5270a79ff5a7182077eb0da65e4d4d9ce640c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 1 Feb 2024 10:08:10 -0500 Subject: [PATCH] Update config removed CubeSatSim restart, instead reboot --- config | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/config b/config index f33cdae6..d0f6ba6b 100755 --- a/config +++ b/config @@ -82,8 +82,9 @@ fi if [ "$1" = "-i" ]; then - echo "Restarting CubeSatSim" - sudo systemctl restart cubesatsim + echo "Rebooting CubeSatSim" + sudo reboot now +# sudo systemctl restart cubesatsim exit elif [ "$1" = "-a" ]; then echo "changing CubeSatSim to AFSK mode" @@ -227,7 +228,8 @@ elif [ "$1" = "-t" ]; then echo "Restarting CubeSatSim with new configuration file" echo - sudo systemctl restart cubesatsim + sudo reboot now +# sudo systemctl restart cubesatsim elif [ "$1" = "-c" ]; then @@ -269,9 +271,10 @@ elif [ "$1" = "-c" ]; then echo else echo - echo "Restarting CubeSatSim with new configuration file" + echo "Rebooting CubeSatSim with new configuration file" echo - sudo systemctl restart cubesatsim + sudo reboot now +# sudo systemctl restart cubesatsim fi elif [ "$1" = "-r" ]; then @@ -323,7 +326,8 @@ elif [ "$1" = "-r" ]; then echo echo "Restarting CubeSatSim with new configuration file" echo - sudo systemctl restart cubesatsim + sudo reboot now +# sudo systemctl restart cubesatsim fi elif [ "$1" = "-l" ]; then @@ -395,9 +399,10 @@ elif [ "$1" = "-l" ]; then echo else echo - echo "Restarting CubeSatSim with new configuration file" + echo "Rebooting CubeSatSim with new configuration file" echo - sudo systemctl restart cubesatsim + sudo reboot now +# sudo systemctl restart cubesatsim fi elif [ "$1" = "-S" ]; then