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