From d7b182c1ef49f9ea978015a32ae3f5520992b044 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 10 Dec 2023 16:15:10 -0500 Subject: [PATCH] Update update pi-power-button uses FLAG=1 to reboot --- update | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/update b/update index f0d2d72b..4df23d26 100755 --- a/update +++ b/update @@ -143,20 +143,22 @@ git pull --no-rebase > .updated_p echo "updating pi-power-button." script/install + + FLAG=1 - echo "You need to reboot to complete this update. Reboot now (y/n)?" +# 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."