Update update pi-power-button uses FLAG=1 to reboot

beta-v1.3.1.1-sim
Alan Johnston 2 years ago committed by GitHub
parent ec1d595093
commit d7b182c1ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -144,19 +144,21 @@ git pull --no-rebase > .updated_p
script/install script/install
echo "You need to reboot to complete this update. Reboot now (y/n)?" FLAG=1
read -r ANS # echo "You need to reboot to complete this update. Reboot now (y/n)?"
if [ "$ANS" = "y" ]; then # read -r ANS
sudo reboot now # if [ "$ANS" = "y" ]; then
else # sudo reboot now
echo "The CubeSatSim software may not work correctly until you reboot." # else
fi # echo "The CubeSatSim software may not work correctly until you reboot."
# fi
else else
echo "nothing to do for pi-power-button." echo "nothing to do for pi-power-button."

Loading…
Cancel
Save

Powered by TurnKey Linux.