From 0f155c3644eb5e1d085a4f7b4fb5786259a3a130 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 12 Nov 2024 05:31:37 -0700 Subject: [PATCH] sswss --- 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 f0d0c52..86236f8 100644 --- a/cron-reinstall-esp-idf.sh +++ b/cron-reinstall-esp-idf.sh @@ -75,6 +75,9 @@ elif [ "$arg" == "nologout" ]; then elif [ "$arg" == "retool" ]; then action="RETOOL" + write_to_log " === $(date '+%d/%m/%Y %H:%M:%S %Z (%s)'): new ${action} ===" + write_to_log "Version: ${scriptVers}" + write_to_log "deleting old export.sh" rm $idfDir/export.sh @@ -91,9 +94,6 @@ elif [ "$arg" == "retool" ]; then cp -r $customBinFrom $customBinLocation chmod +x $customBinLocation/* - write_to_log " === $(date '+%d/%m/%Y %H:%M:%S %Z (%s)'): new ${action} ===" - write_to_log "Version: ${scriptVers}" - exit else # write_to_log "$(date '+%d/%m/%Y %H:%M:%S %Z (%s)'): LIVE mode"