60-beta.0

This commit is contained in:
2024-11-12 08:34:03 -07:00
parent 9c328dbdfd
commit 451a79a071
4 changed files with 110 additions and 51 deletions
+37
View File
@@ -0,0 +1,37 @@
Modes:
default:
reinstalls non-interactively with no delays, logouts, or reboots
bash cron-reinstall-esp-idf.sh
test:
tests the script. very fast. minimal actions taken. no reinstall is done
bash cron-reinstall-esp-idf.sh test
retool:
reinstalls bins and export.sh, nothing else
bash cron-reinstall-esp-idf.sh retool
cron:
runs noninteractively with forced user logout and automatic reboot, plus delays
bash cron-reinstall-esp-idf.sh cron
interactive:
interactively installs/reinstalls esp-idf
bash cron-reinstall-esp-idf.sh interactive
help:
display this help text
bash cron-reinstall-esp-idf.sh help
Helpful Stuff:
cron:
reinstall from master everyday at 8pm, logging out users with warn delays and rebooting after
crontab -e
0 8 * * * bash $HOME/esp/esp-install-custom/cron-reinstall-esp-idf.sh cron
manually wipe logs:
rm $ESPIDF_INSTALLDIR/install.log; rm $ESPIDF_INSTALLDIR/version-data.txt; touch $ESPIDF_INSTALLDIR/install.log; touch $ESPIDF_INSTALLDIR/version-data.txt;
monitor log file during install:
tail -n 75 $ESPIDF_INSTALLDIR/install.log;