update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='5.1.106-04242024'
|
VERS='5.1.108-05092024'
|
||||||
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 '
|
||||||
|
|||||||
@@ -863,7 +863,7 @@ DOWNLIST(){
|
|||||||
until [ "${choice^^}" = "E" ]; do
|
until [ "${choice^^}" = "E" ]; do
|
||||||
|
|
||||||
if [ "${1}" != "report" ] && [ ${sss} -ne 1 ]; then
|
if [ "${1}" != "report" ] && [ ${sss} -ne 1 ]; then
|
||||||
DOWN_LIST=`find ${NM_TMPFOLDER}/ -iname "*.down"`
|
DOWN_LIST=`find ${NM_TMPFOLDER}/ -maxdepth 1 -iname "*.down"`
|
||||||
IFS=$'\n'; read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"; unset IFS
|
IFS=$'\n'; read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"; unset IFS
|
||||||
DOWNLIST=(${DOWN_LIST[@]})
|
DOWNLIST=(${DOWN_LIST[@]})
|
||||||
elif [ ${sss} -eq 1 ]; then
|
elif [ ${sss} -eq 1 ]; then
|
||||||
@@ -1258,7 +1258,7 @@ GUI(){
|
|||||||
|
|
||||||
dl|downlist)
|
dl|downlist)
|
||||||
if [ "${2}" = "report" ]; then
|
if [ "${2}" = "report" ]; then
|
||||||
if [ "$(find ${NM_FOLDER} -name '*.down')" != "" ]; then
|
if [ "$(find ${NM_FOLDER} -maxdepth 1 -name '*.down')" != "" ]; then
|
||||||
rm -f ${NM_LOGFOLDER}/status-downlist.lastrun
|
rm -f ${NM_LOGFOLDER}/status-downlist.lastrun
|
||||||
DOWNLIST report >> ${NM_LOGFOLDER}/status-downlist.lastrun
|
DOWNLIST report >> ${NM_LOGFOLDER}/status-downlist.lastrun
|
||||||
STATUSLOG="$(cat ${NM_LOGFOLDER}/status-downlist.lastrun)"
|
STATUSLOG="$(cat ${NM_LOGFOLDER}/status-downlist.lastrun)"
|
||||||
|
|||||||
Reference in New Issue
Block a user