60-beta.4

This commit is contained in:
2024-11-12 08:41:37 -07:00
parent bd379f762b
commit 68aea82121
3 changed files with 18 additions and 10 deletions
+2
View File
@@ -8,6 +8,8 @@ only currently tested on zsh
## Quick start ## Quick start
`git clone https://github.com/PrincessPi3/esp-install-custom.git ~` `git clone https://github.com/PrincessPi3/esp-install-custom.git ~`
`bash ~/reinstall-esp-idf.sh` `bash ~/reinstall-esp-idf.sh`
`source ~/.zshrc`
`get_idf`
## Features ## Features
`build` idf.py build `build` idf.py build
+15 -9
View File
@@ -1,27 +1,33 @@
Modes: Modes:
default: default:
reinstalls non-interactively with no delays, logouts, or reboots reinstalls non-interactively with no delays, logouts, or reboots
bash cron-reinstall-esp-idf.sh `bash cron-reinstall-esp-idf.sh`
test: test:
tests the script. very fast. minimal actions taken. no reinstall is done tests the script. very fast. minimal actions taken. no reinstall is done
bash cron-reinstall-esp-idf.sh test `bash cron-reinstall-esp-idf.sh test`
retool: retool:
reinstalls bins and export.sh, nothing else reinstalls bins and export.sh, nothing else
bash cron-reinstall-esp-idf.sh retool `bash cron-reinstall-esp-idf.sh retool`
cron: cron:
runs noninteractively with forced user logout and automatic reboot, plus delays runs noninteractively with forced user logout and automatic reboot, plus delays
bash cron-reinstall-esp-idf.sh cron `bash cron-reinstall-esp-idf.sh cron`
interactive: interactive:
interactively installs/reinstalls esp-idf interactively installs/reinstalls esp-idf
bash cron-reinstall-esp-idf.sh interactive `bash cron-reinstall-esp-idf.sh interactive`
help: help:
display this help text display this help text
bash cron-reinstall-esp-idf.sh help `bash cron-reinstall-esp-idf.sh help`
Usage:
Once installed for the first time, restart your shell.
to activate esp-idf with the custom additions, run:
`get_idf`
Features: Features:
@@ -43,11 +49,11 @@ Features:
Helpful Stuff: Helpful Stuff:
cron: cron:
reinstall from master everyday at 8pm, logging out users with warn delays and rebooting after reinstall from master everyday at 8pm, logging out users with warn delays and rebooting after
crontab -e `crontab -e`
0 8 * * * bash $HOME/esp/esp-install-custom/cron-reinstall-esp-idf.sh cron 0 8 * * * bash $HOME/esp/esp-install-custom/cron-reinstall-esp-idf.sh cron
manually wipe logs: 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; `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: monitor log file during install:
tail -n 75 $ESPIDF_INSTALLDIR/install.log; `tail -n 75 $ESPIDF_INSTALLDIR/install.log;`
+1 -1
View File
@@ -1 +1 @@
60-beta.3 60-beta.4