added reboot for update from beta image

pull/132/head
alanbjohnston 5 years ago committed by GitHub
parent 7dc7ee1466
commit 492b341188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -109,6 +109,20 @@ if [ ! -d "/home/pi/PiSSTVpp" ]; then
cp /home/pi/CubeSatSim/sstv/sstv_image_2_320_x_256.jpg /home/pi/CubeSatSim/sstv_image_2_320_x_256.jpg
fi
echo "You need to reboot to complete this update. Reboot now (y/n)?"
read -r ANS
if [ "$ANS" = "y" ]; then
sudo reboot now
else
echo "The CubeSatSim software may not work correctly until you reboot."
fi
fi
cd /home/pi/pi-power-button

Loading…
Cancel
Save

Powered by TurnKey Linux.