Update config print restart/reboot result

send-commands
Alan Johnston 7 months ago committed by GitHub
parent 67ea9f05fd
commit 363ca32dab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -57,8 +57,10 @@ function check_restart {
FILE=/home/pi/CubeSatSim/battery_saver FILE=/home/pi/CubeSatSim/battery_saver
if [ -f "$FILE" ]; then if [ -f "$FILE" ]; then
restart=1 restart=1
echo "Need to restart"
else else
reboot=1 reboot=1
echo "Need to reboot"
fi fi
else else
restart=1 restart=1

Loading…
Cancel
Save

Powered by TurnKey Linux.