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 if [ "$1" = "-i" ]; then
echo "Restarting CubeSatSim" echo "Rebooting CubeSatSim"
sudo systemctl restart cubesatsim sudo reboot now
# sudo systemctl restart cubesatsim
exit exit
elif [ "$1" = "-a" ]; then elif [ "$1" = "-a" ]; then
echo "changing CubeSatSim to AFSK mode" echo "changing CubeSatSim to AFSK mode"
@ -227,7 +228,8 @@ elif [ "$1" = "-t" ]; then
echo "Restarting CubeSatSim with new configuration file" echo "Restarting CubeSatSim with new configuration file"
echo echo
sudo systemctl restart cubesatsim sudo reboot now
# sudo systemctl restart cubesatsim
elif [ "$1" = "-c" ]; then elif [ "$1" = "-c" ]; then
@ -269,9 +271,10 @@ elif [ "$1" = "-c" ]; then
echo echo
else else
echo echo
echo "Restarting CubeSatSim with new configuration file" echo "Rebooting CubeSatSim with new configuration file"
echo echo
sudo systemctl restart cubesatsim sudo reboot now
# sudo systemctl restart cubesatsim
fi fi
elif [ "$1" = "-r" ]; then elif [ "$1" = "-r" ]; then
@ -323,7 +326,8 @@ elif [ "$1" = "-r" ]; then
echo echo
echo "Restarting CubeSatSim with new configuration file" echo "Restarting CubeSatSim with new configuration file"
echo echo
sudo systemctl restart cubesatsim sudo reboot now
# sudo systemctl restart cubesatsim
fi fi
elif [ "$1" = "-l" ]; then elif [ "$1" = "-l" ]; then
@ -395,9 +399,10 @@ elif [ "$1" = "-l" ]; then
echo echo
else else
echo echo
echo "Restarting CubeSatSim with new configuration file" echo "Rebooting CubeSatSim with new configuration file"
echo echo
sudo systemctl restart cubesatsim sudo reboot now
# sudo systemctl restart cubesatsim
fi fi
elif [ "$1" = "-S" ]; then elif [ "$1" = "-S" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.