Update status.inc
This commit is contained in:
@@ -910,10 +910,20 @@ STATUS_SCANTIMES(){
|
|||||||
echo -e "${idsCL[LightCyan]}Last w/Replication Scan : ${idsCL[LightGreen]}${last_replcheck}${idsCL[Default]}"
|
echo -e "${idsCL[LightCyan]}Last w/Replication Scan : ${idsCL[LightGreen]}${last_replcheck}${idsCL[Default]}"
|
||||||
|
|
||||||
if [ ${scansfound_total} -le 500 ]; then
|
if [ ${scansfound_total} -le 500 ]; then
|
||||||
echo -en "\n${idsCL[LightCyan]}List out these '${scansfound_total}' scan times? (y/N): ${idsCL[Default]}"
|
if [ ${scansfound_total} -gt 15 ]; then
|
||||||
read -n1 choice
|
echo -en "\n${idsCL[LightCyan]}List out these '${scansfound_total}' scan times? (y/N): ${idsCL[Default]}"
|
||||||
if [ "${choice^^}" == "Y" ]; then
|
read -n1 choice
|
||||||
echo -en "\r\033[K"
|
if [ "${choice^^}" == "Y" ]; then
|
||||||
|
echo -en "\r\033[K"
|
||||||
|
gofor=1
|
||||||
|
else
|
||||||
|
gofor=0
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
gofor=1
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
if [ ${gofor} -eq 1 ]; then
|
||||||
lastscansnum=${scansfound_total}
|
lastscansnum=${scansfound_total}
|
||||||
last_scantimes=$(tail -n ${lastscansnum} ${NM_LOGFOLDER}/status-check.scantimes)
|
last_scantimes=$(tail -n ${lastscansnum} ${NM_LOGFOLDER}/status-check.scantimes)
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user