Update config turn back on reboot and restart

beta-pl
Alan Johnston 2 years ago committed by GitHub
parent 53230f2a47
commit f9baa15732
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -846,6 +846,8 @@ echo $noreboot
if [ "$reboot" = "1" ] ; then if [ "$reboot" = "1" ] ; then
if [ "$noreboot" = "0" ] ; then if [ "$noreboot" = "0" ] ; then
echo "Rebooting" echo "Rebooting"
sudo systemctl stop rpitx
sudo reboot now
else else
echo "Reboot needed for changes to take effect" echo "Reboot needed for changes to take effect"
fi fi
@ -854,6 +856,7 @@ fi
if [ "$restart" = "1" ] ; then if [ "$restart" = "1" ] ; then
if [ "$reboot" = "1" ] ; then if [ "$reboot" = "1" ] ; then
echo "Restarting" echo "Restarting"
sudo systemctl restart cubesatsim
else else
echo "Restart needed for changes to take effect" echo "Restart needed for changes to take effect"
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.