53-rc2.1
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
#!/bin/bash
|
||||
# testing:
|
||||
# bash ~/esp/esp-install-custom/cron-reinstall-esp-idf.sh test
|
||||
# tail -f -n 50 ~/esp/install.log
|
||||
# bash $HOME/esp/esp-install-custom/cron-reinstall-esp-idf.sh test
|
||||
# tail -f -n 50 $HOME/esp/install.log
|
||||
# ls $HOME/esp
|
||||
# cat $HOME/esp/install.log
|
||||
# cat $HOME/esp/version-data.txt
|
||||
|
||||
# cron:
|
||||
# crontab -e
|
||||
# 0 8 * * * bash $HOME/esp/esp-install-custom/cron-reinstall-esp-idf.sh
|
||||
|
||||
startTime=$(date '+%s')
|
||||
cronVers=53-rc2 # version of this script
|
||||
cronVers=53-rc2.1 # version of this script
|
||||
log=$HOME/esp/install.log
|
||||
|
||||
function return_status() {
|
||||
@@ -44,10 +47,12 @@ if [ "$1" == "test" ]; then
|
||||
toolsInstallCmd="echo python $idfDir/tools/idf_tools.py install all"
|
||||
sleepMins=0
|
||||
|
||||
# rm -f $HOME/esp/install.log; rm -f $HOME/esp/install.log; ls $HOME/esp; bash $HOME/esp/esp-install-custom/cron-reinstall-esp-idf.sh
|
||||
rm -f $HOME/esp/install.log
|
||||
rm -f $HOME/version-data.txt
|
||||
# ls $HOME/esp; echo "install.log"; Cat $HOME/esp/install.log; echo "version-data.txt"; cat $HOME/esp/version-data.txt
|
||||
# rm -f $HOME/esp/install.log; rm -f $HOME/esp/install.log; ls $HOME/esp;
|
||||
# bash $HOME/esp/esp-install-custom/cron-reinstall-esp-idf.sh
|
||||
ls $HOME/esp
|
||||
rm -f $HOME/esp/install.log
|
||||
rm -f $HOME/esp/version-data.txt
|
||||
|
||||
function logout_all_users() {
|
||||
who | awk '{print $1}'
|
||||
|
||||
Reference in New Issue
Block a user