update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='5.6.2a-07062025'
|
VERS='5.6.3-07062025'
|
||||||
NM_BETA=false
|
NM_BETA=false
|
||||||
|
|
||||||
noheader=' test 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=' test 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 '
|
||||||
|
|||||||
@@ -882,13 +882,22 @@ STATUS_NODE(){
|
|||||||
echo -e "\r\033[K ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[LightRed]} - Offline${idsCL[Default]}"
|
echo -e "\r\033[K ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[LightRed]} - Offline${idsCL[Default]}"
|
||||||
DIVIDER false lightCyan ${DV_LEN}
|
DIVIDER false lightCyan ${DV_LEN}
|
||||||
fi
|
fi
|
||||||
[ ! -f ${STATUSRUN_TMPFOLDER}/.${nip}.down ] && touch ${STATUSRUN_TMPFOLDER}/.${nip}.down
|
|
||||||
rm -f ${NM_TMPFOLDER}/${nip}~*
|
if [[ "${NM_IGNOREHOSTS_IFDOWN}" = *"${nip}"* ]]; then
|
||||||
|
if [ ! -f ${STATUSRUN_TMPFOLDER}/.${nip}.disable ]; then
|
||||||
|
rm -f ${NM_TMPFOLDER}/${nip}~*
|
||||||
|
touch ${STATUSRUN_TMPFOLDER}/.${nip}.disable
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
[ ! -f ${STATUSRUN_TMPFOLDER}/.${nip}.down ] && touch ${STATUSRUN_TMPFOLDER}/.${nip}.down
|
||||||
|
rm -f ${NM_TMPFOLDER}/${nip}~*
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f ${NM_TMPFOLDER}/${nip}.down ]; then
|
if [ ! -f ${NM_TMPFOLDER}/${nip}.down ]; then
|
||||||
# if [ ! -f ${NM_TMPFOLDER}/${nip}.disable ] && ([[ "${nip}" != *"10.2."* ]] || ([[ "${nip}" = *"10.2."* ]] && [ ! -f ${PW_TMPFOLDER}/OFF-vMS-Host1.down ])); then
|
# if [ ! -f ${NM_TMPFOLDER}/${nip}.disable ] && ([[ "${nip}" != *"10.2."* ]] || ([[ "${nip}" = *"10.2."* ]] && [ ! -f ${PW_TMPFOLDER}/OFF-vMS-Host1.down ])); then
|
||||||
if [ ! -f ${NM_TMPFOLDER}/${nip}.disable ]; then
|
|
||||||
touch ${NM_TMPFOLDER}/${nip}.down
|
[ ! -f ${NM_TMPFOLDER}/${nip}.disable ] && touch ${NM_TMPFOLDER}/${nip}.down
|
||||||
fi
|
|
||||||
if [ "${STATUS_ACTION}" != "check" ]; then
|
if [ "${STATUS_ACTION}" != "check" ]; then
|
||||||
if [ "${checkhost}" != "false" ]; then
|
if [ "${checkhost}" != "false" ]; then
|
||||||
echo -e "${idsCL[Red]} Node is online, but SSH is down!${idsCL[Default]}"
|
echo -e "${idsCL[Red]} Node is online, but SSH is down!${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user