61-beta4
This commit is contained in:
@@ -74,6 +74,29 @@ Modes:
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Ailases
|
||||||
|
```
|
||||||
|
run_esp_reinstall
|
||||||
|
Updates the esp-install-custom code via git, displays the script version, then executes reinstall-esp-idf.sh with optional arument.
|
||||||
|
Takes identical arguments to running reinstall-esp-idf.sh manually
|
||||||
|
run_esp_reinstall
|
||||||
|
run_esp_reinstall clean
|
||||||
|
run_esp_reinstall nuke
|
||||||
|
run_esp_reinstall retool
|
||||||
|
run_esp_reinstall cron
|
||||||
|
run_esp_reinstall interactive
|
||||||
|
run_esp_reinstall test
|
||||||
|
|
||||||
|
esp_monitor
|
||||||
|
monitors install.log
|
||||||
|
alias for tail -n 75 -f $ESPIDF_INSTALLDIR/install.log
|
||||||
|
no arguments
|
||||||
|
|
||||||
|
esp_logs
|
||||||
|
displays full text of install.log and version-data.txt
|
||||||
|
no arguments
|
||||||
|
```
|
||||||
|
|
||||||
## Helpful stuff
|
## Helpful stuff
|
||||||
```
|
```
|
||||||
cron:
|
cron:
|
||||||
|
|||||||
@@ -63,6 +63,26 @@ Features:
|
|||||||
`save-defconfig` idf.py save-defconfig
|
`save-defconfig` idf.py save-defconfig
|
||||||
`step-flash-monitor` attempt clean, build, flash, then monitor, dying on error
|
`step-flash-monitor` attempt clean, build, flash, then monitor, dying on error
|
||||||
|
|
||||||
|
Aliases:
|
||||||
|
run_esp_reinstall
|
||||||
|
Updates the esp-install-custom code via git, displays the script version, then executes reinstall-esp-idf.sh with optional arument.
|
||||||
|
Takes identical arguments to running reinstall-esp-idf.sh manually
|
||||||
|
run_esp_reinstall
|
||||||
|
run_esp_reinstall clean
|
||||||
|
run_esp_reinstall nuke
|
||||||
|
run_esp_reinstall retool
|
||||||
|
run_esp_reinstall cron
|
||||||
|
run_esp_reinstall interactive
|
||||||
|
run_esp_reinstall test
|
||||||
|
|
||||||
|
esp_monitor
|
||||||
|
monitors install.log
|
||||||
|
alias for tail -n 75 -f $ESPIDF_INSTALLDIR/install.log
|
||||||
|
no arguments
|
||||||
|
|
||||||
|
esp_logs
|
||||||
|
displays full text of install.log and version-data.txt
|
||||||
|
no arguments
|
||||||
|
|
||||||
Helpful Stuff:
|
Helpful Stuff:
|
||||||
cron:
|
cron:
|
||||||
|
|||||||
@@ -468,10 +468,7 @@ function handleEmptyLogs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handleChk() {
|
function handleChk() {
|
||||||
retCodes="Error Checking:\n\tPackages install: $pkgInstallChk\n\tGit pull/clone: $gitChk\n\tInstall script: $installChk\n\tInstall tools: $toolsInstallChk\n\tExport append: $exportCatChk\n\tExport edit return: $exportSedReturnChk\n\tExport version: $exportSedVersionChk\n\tExport date: $exportSedDateChk\n\tExport git hash: $exportSedHashChk\n\trun_esp_reinstall alias: $aliasRunEspReinstallChk\n\tesp_monitor alias: $aliasEspMonitorchk\n\tesp_logs alias: $aliasEspLogsChk\n\tESPIDF_INSTALLDIR envvar: $aliasInstallDirChk\n\tWarned Users: $warnChk\n\tLogged out users: $logoutChk\n\tAppended git log to version-data.txt: $gitLogChk\n\tAcquired git hash: $gitHashChk\n\tDeleted esp-idf dir: $rmIdfDirChk\n\tDeleted .espressif dir: $rmEspressifChk
|
retCodes="Error Checking:\n\tPackages install: $pkgInstallChk\n\tGit pull/clone: $gitChk\n\tInstall script: $installChk\n\tInstall tools: $toolsInstallChk\n\tExport append: $exportCatChk\n\tExport edit return: $exportSedReturnChk\n\tExport version: $exportSedVersionChk\n\tExport date: $exportSedDateChk\n\tExport git hash: $exportSedHashChk\n\trun_esp_reinstall alias: $aliasRunEspReinstallChk\n\tesp_monitor alias: $aliasEspMonitorchk\n\tesp_logs alias: $aliasEspLogsChk\n\tESPIDF_INSTALLDIR envvar: $aliasInstallDirChk\n\tWarned Users: $warnChk\n\tLogged out users: $logoutChk\n\tAppended git log to version-data.txt: $gitLogChk\n\tAcquired git hash: $gitHashChk\n\tDeleted esp-idf dir: $rmIdfDirChk\n\tDeleted .espressif dir: $rmEspressifChk\n\tCreated install dir: $mkInstallDirChk\n\tRestored export.sh.bak: $restoreExportScriptChk\n\tDeleted old export.sh: $rmExportScriptCh\n\tBacked up export.sh to export.sh.bak: $backupExportScriptChk\n\tMade custom scripts executable: $customBinExecChk\n\tCopied custom scripts: $cpCustomBinChk\n\tDeleted old custom scripts dir: $rmCustomBinChk\n\tWoke from sleep: $sleepChk"
|
||||||
\n\tCreated install dir: $mkInstallDirChk\n\tRestored export.sh.bak: $restoreExportScriptChk\n\tDeleted old export.sh: $rmExportScriptCh\n\tBacked up export.sh to export.sh.bak: $backupExportScriptChk\n\tMade custom scripts executable: $customBinExecChk\n\tCopied custom scripts: $cpCustomBinChk\n\tDeleted old custom scripts dir: $rmCustomBinChk\n\tWoke from sleep: $sleepChk"
|
|
||||||
|
|
||||||
# echo -e "\n\nTotal Error Load:\n$pkgInstallChk+$gitChk+$gitChk+$installChk+$toolsInstallChk+$exportSedHashChk+$exportCatChk+$exportSedReturnChk+$aliasRunEspReinstallChk+$aliasEspMonitorchk+$aliasEspLogsChk+$aliasInstallDirChk+$warnChk+$logoutChk+$gitLogChk+$gitHashChk+$rmIdfDirChk+$rmEspressifChk+$mkInstallDirChk+$restoreExportScriptChk+$rmExportScriptChk+$backupExportScriptChk+$customBinExecChk+$rmCustomBinChk+$sleepChk\n\n"
|
|
||||||
|
|
||||||
totalErrorLoad=$(($pkgInstallChk+$gitChk+$gitChk+$installChk+$toolsInstallChk+$exportSedHashChk+$exportCatChk+$exportSedReturnChk+$aliasRunEspReinstallChk+$aliasEspMonitorchk+$aliasEspLogsChk+$aliasInstallDirChk+$warnChk+$logoutChk+$gitLogChk+$gitHashChk+$rmIdfDirChk+$rmEspressifChk+$mkInstallDirChk+$restoreExportScriptChk+$rmExportScriptChk+$backupExportScriptChk+$customBinExecChk+$rmCustomBinChk+$sleepChk))
|
totalErrorLoad=$(($pkgInstallChk+$gitChk+$gitChk+$installChk+$toolsInstallChk+$exportSedHashChk+$exportCatChk+$exportSedReturnChk+$aliasRunEspReinstallChk+$aliasEspMonitorchk+$aliasEspLogsChk+$aliasInstallDirChk+$warnChk+$logoutChk+$gitLogChk+$gitHashChk+$rmIdfDirChk+$rmEspressifChk+$mkInstallDirChk+$restoreExportScriptChk+$rmExportScriptChk+$backupExportScriptChk+$customBinExecChk+$rmCustomBinChk+$sleepChk))
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
61-beta3.4
|
61-beta4
|
||||||
Reference in New Issue
Block a user