update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='5.3.14d-11292024'
|
VERS='5.3.14e-11292024'
|
||||||
NM_BETA=false
|
NM_BETA=false
|
||||||
|
|
||||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix '
|
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix '
|
||||||
|
|||||||
@@ -1046,9 +1046,9 @@ STATUS_SCANTIMES(){
|
|||||||
unset IFS
|
unset IFS
|
||||||
echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}------------------------------------------${idsCL[Default]}"
|
echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}------------------------------------------${idsCL[Default]}"
|
||||||
for scan in "${last_scantimes[@]}"; do
|
for scan in "${last_scantimes[@]}"; do
|
||||||
scanrun=$(echo "${scan}" | cut -d '~' -f 3)
|
|
||||||
scandate=$(echo "${scan}" | cut -d '~' -f 1)
|
scandate=$(echo "${scan}" | cut -d '~' -f 1)
|
||||||
scantime=$(echo "${scan}" | cut -d '~' -f 2)
|
scantime=$(echo "${scan}" | cut -d '~' -f 2)
|
||||||
|
scanrun=$(echo "${scan}" | cut -d '~' -f 3)
|
||||||
if [ "${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 [ "${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) "
|
echo -en "${idsCL[White]} ${scandate} (${scantime}s) ${idsCL[Yellow]}$(SHOW_TIME ${scantime} s) "
|
||||||
[ ${scanrun} -eq 1 ] && echo -en "${idsCL[LightCyan]}<-- Replication Run "
|
[ ${scanrun} -eq 1 ] && echo -en "${idsCL[LightCyan]}<-- Replication Run "
|
||||||
|
|||||||
Reference in New Issue
Block a user