Index: scripts/globals.sh =================================================================== diff -u -r3e5d7dc83d85c4727634d366938b40d20cfebc4e -rd638f1b23e6ec1c200643e8233cd65972621ca25 --- scripts/globals.sh (.../globals.sh) (revision 3e5d7dc83d85c4727634d366938b40d20cfebc4e) +++ scripts/globals.sh (.../globals.sh) (revision d638f1b23e6ec1c200643e8233cd65972621ca25) @@ -615,6 +615,13 @@ time_start=$(date +%s) } + +#TODO later improvement +# function checkLogBackups() { +# find +# filename="$SDCARD_MNT/log/" && filename2="${filename%.*}"".u."${filename##*.} && mv "$filename" "$filename2" && gzip $filename2 && ls log +# } + function timerEndLog() { # ----------------------------------------- END # tag the end time in the POST log file