From eff470c6bf4d765268ffeb33595461a536d16b07 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 9 Nov 2024 07:26:36 -0700 Subject: [PATCH] 53-rc2 --- cron-reinstall-esp-idf.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cron-reinstall-esp-idf.sh b/cron-reinstall-esp-idf.sh index 4a9372c..d7ebd8a 100644 --- a/cron-reinstall-esp-idf.sh +++ b/cron-reinstall-esp-idf.sh @@ -8,7 +8,7 @@ # 0 8 * * * bash $HOME/esp/esp-install-custom/cron-reinstall-esp-idf.sh startTime=$(date '+%s') -cronVers=53-rc1.1 # version of this script +cronVers=53-rc2 # version of this script log=$HOME/esp/install.log function return_status() { @@ -85,7 +85,7 @@ write_to_log "$(date '+%d/%m/%Y %H:%M:%S %Z (%s)'): force logging out all users" logout_all_users return_status -write_to_log "$(date '+%d/%m/%Y %H:%M:%S %Z (%s)')\nvars:\n\tmyUser: $myUser\n\tcronVers: $cronVers\n\tgitJobs: $gitJobs\n\tversionData: $versionData\n\tlog: $log\n\tsleepMins: $sleepMins\n\tsleepSecs: $sleepSecs\n\tinstallDir: $installDir\n\tgitBranch: $gitBranch\n\trunningDir: $runningDir\n\tidfDir: $idfDir\n\tespressifLocation: $espressifLocation\n\tcustomBinLocation: $customBinLocation\n\tcustomBinFrom: $customBinFrom\n\tinstallCmd: $installCmd\n\ttoolsInstallCmd: $toolsInstallCmd" +write_to_log "$(date '+%d/%m/%Y %H:%M:%S %Z (%s)')\nvars:\n\tmyUser: $myUser\n\tcronVers: $cronVers\n\tversionData: $versionData\n\tlog: $log\n\tsleepMins: $sleepMins\n\tsleepSecs: $sleepSecs\n\tinstallDir: $installDir\n\tgitJobs: $gitJobs\n\tgitBranch: $gitBranch\n\tgitCmd: $gitCmd\n\trunningDir: $runningDir\n\tidfDir: $idfDir\n\tespressifLocation: $espressifLocation\n\tcustomBinLocation: $customBinLocation\n\tcustomBinFrom: $customBinFrom\n\tinstallCmd: $installCmd\n\ttoolsInstallCmd: $toolsInstallCmd" return_status if ! [ -d $installDir ]; then @@ -170,7 +170,7 @@ endTime=$(date '+%s') timeElapsed=$(($endTime-$startTime)) 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\n" if [ "$1" == "test" ]; then echo sudo reboot