diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index b35da0b..51f2a7f 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -357,7 +357,7 @@ function handleDownloadInstall() { handleReboot() { # writeToLog "Handling reboot: (function ran)\n" - sudo reboot + eval "sudo shutdown -r +$rebootMins" } # warning not work how i make it work fuckin ell @@ -595,6 +595,7 @@ elif [[ "$arg" == "cron" || "$arg" == "c" ]]; then # full install with warn, sle action="REINSTALL (CRON)" # sleepMins=3 sleepMins=0 + rebootMins=3 handleStart handleLogoutAllUsers diff --git a/todo.txt b/todo.txt index f3171a8..35f612c 100644 --- a/todo.txt +++ b/todo.txt @@ -49,7 +49,7 @@ testan: x bash reinstall-esp-idf.sh i x bash reinstall-esp-idf.sh nuke x bash reinstall-esp-idf.sh n - bash reinstall-esp-idf.sh uninstall + x bash reinstall-esp-idf.sh uninstall bash reinstall-esp-idf.sh cron bash reinstall-esp-idf.sh c diff --git a/version.txt b/version.txt index 1693d58..01cb2a3 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -6-prerelease6.5 \ No newline at end of file +6-prerelease6.6 \ No newline at end of file