Update status.inc
This commit is contained in:
@@ -1188,7 +1188,7 @@ STATUS_SCANTIMES(){
|
||||
echo -e "${idsCL[LightCyan]}Last w/Repl. & Clean : ${idsCL[LightGreen]}${last_replclean}${idsCL[Default]}"
|
||||
|
||||
# if [ ${scansfound_total} -le 500 ]; then
|
||||
if [ ${scansfound_total} -gt 15 ]; then
|
||||
if [ ${scansfound_total} -gt 20 ]; then
|
||||
echo -en "\n${idsCL[LightCyan]}List out these '${scansfound_total}' scan times? (${idsCL[Yellow]}A${idsCL[LightCyan]})ll/(${idsCL[Yellow]}N${idsCL[LightCyan]})ormal/(${idsCL[Yellow]}R${idsCL[LightCyan]})epl/repl(${idsCL[Yellow]}C${idsCL[LightCyan]})lean/(${idsCL[Yellow]}L${idsCL[LightCyan]})ong [default=no] : ${idsCL[Default]}"
|
||||
read -n1 choice
|
||||
if [ "${choice^^}" == "A" ] || [ "${choice^^}" == "N" ] || [ "${choice^^}" == "R" ] || [ "${choice^^}" == "C" ] || [ "${choice^^}" == "L" ]; then
|
||||
@@ -1212,7 +1212,7 @@ STATUS_SCANTIMES(){
|
||||
scandate=$(echo "${scan}" | cut -d '~' -f 1)
|
||||
scantime=$(echo "${scan}" | cut -d '~' -f 2)
|
||||
scanrun=$(echo "${scan}" | cut -d '~' -f 3)
|
||||
if ${gofor} -eq 2 ] || [ "${choice^^}" == "A" ] || ([ "${choice^^}" == "N" ] && [ ${scanrun} -eq 0 ]) || ([ "${choice^^}" == "R" ] && [ ${scanrun} -eq 1 ]) || ([ "${choice^^}" == "C" ] && [ ${scanrun} -eq 2 ]) || ([ "${choice^^}" == "L" ] && ([ ${scanrun} -eq 0 ] && [ ${scantime} -gt 60 ] || [ ${scanrun} -gt 0 ] && [ ${scantime} -gt 70 ])); then
|
||||
if [ ${gofor} -eq 2 ] || [ "${choice^^}" == "A" ] || ([ "${choice^^}" == "N" ] && [ ${scanrun} -eq 0 ]) || ([ "${choice^^}" == "R" ] && [ ${scanrun} -eq 1 ]) || ([ "${choice^^}" == "C" ] && [ ${scanrun} -eq 2 ]) || ([ "${choice^^}" == "L" ] && ([ ${scanrun} -eq 0 ] && [ ${scantime} -gt 60 ] || [ ${scanrun} -gt 0 ] && [ ${scantime} -gt 70 ])); then
|
||||
echo -en "${idsCL[White]} ${scandate} (${scantime}s) ${idsCL[Yellow]}$(SHOW_TIME ${scantime} s) "
|
||||
[ ${scanrun} -eq 1 ] && echo -en "${idsCL[LightCyan]}<-- Replication Run "
|
||||
[ ${scanrun} -eq 2 ] && echo -en "${idsCL[Blue]}<-- Replication & Clean Run "
|
||||
|
||||
Reference in New Issue
Block a user