This commit is contained in:
2024-11-09 05:58:11 -07:00
parent f3f08cbab4
commit 02e5f0282e
+6 -1
View File
@@ -9,7 +9,7 @@
startTime=$(date '+%s') startTime=$(date '+%s')
cronVers=46-major # version of this script cronVers=47-dev # version of this script
log=$HOME/esp/install.log log=$HOME/esp/install.log
@@ -161,4 +161,9 @@ write_to_log "reinstall completed in $timeElapsed seconds"
write_to_log " === $(date '+%d/%m/%Y %H:%M:%S %Z (%s)'): finished ===\n" write_to_log " === $(date '+%d/%m/%Y %H:%M:%S %Z (%s)'): finished ===\n"
if [ "$1" == "test" ]; then
echo sudo reboot
else
sudo reboot sudo reboot
fi