Update config print rebooting

sr-frs-rx
Alan Johnston 2 years ago committed by GitHub
parent 5311989ea1
commit 8438e53d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -377,10 +377,12 @@ elif [ "$1" = "-T" ]; then
if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then
sudo sed -i 's/False/True/g' /home/pi/CubeSatSim/command_tx sudo sed -i 's/False/True/g' /home/pi/CubeSatSim/command_tx
echo "Command state set to True to enable beacon" echo "Command state set to True to enable beacon"
echo "rebooting"
sudo reboot now sudo reboot now
else else
sudo sed -i 's/True/False/g' /home/pi/CubeSatSim/command_tx sudo sed -i 's/True/False/g' /home/pi/CubeSatSim/command_tx
echo "Command state set to False to disable beacon" echo "Command state set to False to disable beacon"
echo "rebooting"
sudo reboot now sudo reboot now
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.