From 844f58c27278a0106b8b66a8ef2d60f21b168d49 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 9 Nov 2024 03:31:26 -0700 Subject: [PATCH] wsss --- cron-reinstall-esp-idf.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cron-reinstall-esp-idf.sh b/cron-reinstall-esp-idf.sh index dcda9aa..a569fef 100644 --- a/cron-reinstall-esp-idf.sh +++ b/cron-reinstall-esp-idf.sh @@ -1,5 +1,5 @@ #!/bin/bash -cronVers=23 # version of this script +cronVers=24 # version of this script sleepSecs=3 # seconds of warning to wait for user to log out log=$HOME/esp/install.log @@ -24,7 +24,7 @@ write_to_log " === $(date '+%d/%m/%Y-%H.%M.%S %Z (%s)'): new reinstall ===" write_to_log "Cron version: ${cronVers}" warningString="$(date '+%d/%m/%Y-%H.%M.%S %Z (%s)'): sending warning message" -echo "$(date '+%d/%m/%Y-%H.%M.%S %Z (%s)')\nReinstalling esp-idf in ${sleepSecs} seconds! Save and log out!\n\tmonitor with \`tail -f $HOME/esp/install.log\`\n\tterminate with \`sudo killall cron-reinstall-esp-idf.sh\`" +echo -e "$(date '+%d/%m/%Y-%H.%M.%S %Z (%s)')\nReinstalling esp-idf in ${sleepSecs} seconds! Save and log out!\n\tmonitor with \`tail -f $HOME/esp/install.log\`\n\tterminate with \`sudo killall cron-reinstall-esp-idf.sh\`" write_to_log "$(date '+%d/%m/%Y-%H.%M.%S %Z (%s)'): sending warning message" write_to_log "$warningString"