Update config don't reboot on c&c on/off

pull/323/head
Alan Johnston 1 year ago committed by GitHub
parent 13cbc124d9
commit 0ac105e87b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -475,9 +475,9 @@ elif [ "$1" = "-T" ]; then
if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then
echo "Command and control set to OFF" echo "Command and control set to OFF"
sudo rm /home/pi/CubeSatSim/command_control sudo rm /home/pi/CubeSatSim/command_control
reboot=1 # reboot=1
## echo "rebooting" echo "restarting command and control"
## sudo systemctl stop rpitx sudo systemctl restart command
## sudo reboot now ## sudo reboot now
fi fi
@ -491,9 +491,9 @@ elif [ "$1" = "-T" ]; then
if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then
echo "Command and control set to ON" echo "Command and control set to ON"
sudo touch /home/pi/CubeSatSim/command_control sudo touch /home/pi/CubeSatSim/command_control
## echo "rebooting" echo "restarting command and control"
reboot=1 # reboot=1
## sudo systemctl stop rpitx sudo systemctl restart command
## sudo reboot now ## sudo reboot now
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.