Update config removed CubeSatSim restart, instead reboot

beta-drop
Alan Johnston 2 years ago committed by GitHub
parent ec2fee4842
commit f5d5270a79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.