60-beta2.4
This commit is contained in:
@@ -4,6 +4,7 @@ pulls from master so its the very latest
|
|||||||
|
|
||||||
built for debian-like systems
|
built for debian-like systems
|
||||||
only currently tested on zsh
|
only currently tested on zsh
|
||||||
|
some features require user to have passwordless sudo rights
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
`git clone https://github.com/PrincessPi3/esp-install-custom.git ~`
|
`git clone https://github.com/PrincessPi3/esp-install-custom.git ~`
|
||||||
@@ -36,26 +37,35 @@ Modes:
|
|||||||
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 reinstall-esp-idf.sh test
|
bash reinstall-esp-idf.sh test
|
||||||
|
bash reinstall-esp-idf.sh t
|
||||||
|
|
||||||
retool:
|
retool:
|
||||||
reinstalls bins and export.sh, nothing else
|
reinstalls bins and export.sh, nothing else
|
||||||
bash reinstall-esp-idf.sh retool
|
bash reinstall-esp-idf.sh retool
|
||||||
|
bash reinstall-esp-idf.sh rt
|
||||||
|
|
||||||
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 reinstall-esp-idf.sh cron
|
bash reinstall-esp-idf.sh cron
|
||||||
|
bash reinstall-esp-idf.sh c
|
||||||
|
|
||||||
interactive:
|
interactive:
|
||||||
interactively installs/reinstalls esp-idf
|
interactively installs/reinstalls esp-idf
|
||||||
bash reinstall-esp-idf.sh interactive
|
bash reinstall-esp-idf.sh interactive
|
||||||
|
bash reinstall-esp-idf.sh i
|
||||||
|
|
||||||
clearlogs:
|
clearlogs:
|
||||||
clear logs
|
clear logs
|
||||||
bash reinstall-esp-idf.sh clearlogs
|
bash reinstall-esp-idf.sh clearlogs
|
||||||
|
bash reinstall-esp-idf.sh clear
|
||||||
|
bash reinstall-esp-idf.sh cl
|
||||||
|
|
||||||
help:
|
help:
|
||||||
display this help text
|
display this help text
|
||||||
bash reinstall-esp-idf.sh help
|
bash reinstall-esp-idf.sh help
|
||||||
|
bash reinstall-esp-idf.sh h
|
||||||
|
bash reinstall-esp-idf.sh -h
|
||||||
|
bash reinstall-esp-idf.sh --help
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -6,26 +6,35 @@ Modes:
|
|||||||
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 reinstall-esp-idf.sh test`
|
`bash reinstall-esp-idf.sh test`
|
||||||
|
`bash reinstall-esp-idf.sh t`
|
||||||
|
|
||||||
retool:
|
retool:
|
||||||
reinstalls bins and export.sh, nothing else
|
reinstalls bins and export.sh, nothing else
|
||||||
`bash reinstall-esp-idf.sh retool`
|
`bash reinstall-esp-idf.sh retool`
|
||||||
|
`bash reinstall-esp-idf.sh rt`
|
||||||
|
|
||||||
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 reinstall-esp-idf.sh cron`
|
`bash reinstall-esp-idf.sh cron`
|
||||||
|
`bash reinstall-esp-idf.sh c`
|
||||||
|
|
||||||
interactive:
|
interactive:
|
||||||
interactively installs/reinstalls esp-idf
|
interactively installs/reinstalls esp-idf
|
||||||
`bash reinstall-esp-idf.sh interactive`
|
`bash reinstall-esp-idf.sh interactive`
|
||||||
|
`bash reinstall-esp-idf.sh i`
|
||||||
|
|
||||||
clearlogs:
|
clearlogs:
|
||||||
clear logs
|
clear logs
|
||||||
`bash reinstall-esp-idf.sh clearlogs`
|
`bash reinstall-esp-idf.sh clearlogs`
|
||||||
|
`bash reinstall-esp-idf.sh clear`
|
||||||
|
`bash reinstall-esp-idf.sh cl`
|
||||||
|
|
||||||
help:
|
help:
|
||||||
display this help text
|
display this help text
|
||||||
`bash reinstall-esp-idf.sh help`
|
`bash reinstall-esp-idf.sh help`
|
||||||
|
`bash reinstall-esp-idf.sh h`
|
||||||
|
`bash reinstall-esp-idf.sh -h`
|
||||||
|
`bash reinstall-esp-idf.sh --help`
|
||||||
|
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ if [ "$arg" == "--help" -o "$arg" == "help" -o "$arg" == "-h" -o "$arg" == "h" ]
|
|||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
||||||
elif [ "$arg" == "test" ]; then # minimal actions taken, echo the given commands and such
|
elif [ "$arg" == "test" -o "$arg" == "t" ]; then # minimal actions taken, echo the given commands and such
|
||||||
action="TEST"
|
action="TEST"
|
||||||
|
|
||||||
gitCmd="echo git clone --jobs $gitJobs --branch $gitBranch --single-branch https://github.com/espressif/esp-idf $idfDir"
|
gitCmd="echo git clone --jobs $gitJobs --branch $gitBranch --single-branch https://github.com/espressif/esp-idf $idfDir"
|
||||||
@@ -283,7 +283,7 @@ elif [ "$arg" == "test" ]; then # minimal actions taken, echo the given commands
|
|||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
||||||
elif [ "$arg" == "retool" ]; then # just reinstall bins and export
|
elif [ "$arg" == "retool" -o "$arg" == "rt" ]; then # just reinstall bins and export
|
||||||
action="RETOOL"
|
action="RETOOL"
|
||||||
|
|
||||||
handleStart
|
handleStart
|
||||||
@@ -293,7 +293,7 @@ elif [ "$arg" == "retool" ]; then # just reinstall bins and export
|
|||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
||||||
elif [ "$arg" == "interactive" ]; then
|
elif [ "$arg" == "interactive" -o "$arg" == "i" ]; then
|
||||||
action="REINSTALL (INTERACTIVE)"
|
action="REINSTALL (INTERACTIVE)"
|
||||||
|
|
||||||
echo "Enter full path to install dir, default: $installDir"
|
echo "Enter full path to install dir, default: $installDir"
|
||||||
@@ -336,7 +336,7 @@ elif [ "$arg" == "interactive" ]; then
|
|||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
||||||
elif [ "$arg" == "cron" ]; then # full install with warn, sleep, and reboot
|
elif [ "$arg" == "cron" -o "$arg" == "c" ]; then # full install with warn, sleep, and reboot
|
||||||
action="REINSTALL (CRON)"
|
action="REINSTALL (CRON)"
|
||||||
|
|
||||||
handleStart
|
handleStart
|
||||||
@@ -351,7 +351,7 @@ elif [ "$arg" == "cron" ]; then # full install with warn, sleep, and reboot
|
|||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
||||||
elif [ "$arg" == "clearlogs" ]; then # clear logs
|
elif [ "$arg" == "clearlogs" -o "$arg" == "cl" -o "$arg" == "clear" ]; then # clear logs
|
||||||
handleEmptyLogs
|
handleEmptyLogs
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
60-beta2.3
|
60-beta2.4
|
||||||
Reference in New Issue
Block a user