Update nodemgmt-scripts.sh

This commit is contained in:
2025-08-30 22:35:22 -05:00
parent e2f5a7fa4b
commit d912e698af

View File

@@ -15,7 +15,7 @@ source /opt/idssys/nodemgmt/inc/certs.inc
source /opt/idssys/nodemgmt/inc/sites.inc
source /opt/idssys/nodemgmt/inc/services.inc
if [ "${1}" == "report" ] || [ "${2}" == "report" ] || [ "${3}" == "report" ] || ([ "${1}" == "skip" ] && [ "${2}" == "q" ]); then
if [ "${1}" == "report" ] || [ "${2}" == "report" ] || [ "${3}" == "report" ]; then
unset idsCL idsBG idsST
idsCL=('')
idsBG=('')
@@ -1228,6 +1228,10 @@ SETUPSSH_BACK(){
}
SKIP_SERVER_CHECKS(){
if [ "${2}" == "q" ]; then
unset idsCL idsBG idsST
idsCL=(''); idsBG=(''); idsST=('')
fi
if [ "${1}" == "on" ] || ([ ! -f ${NM_TMPFOLDER}/.skip ] && [ "${1}" == "" ]); then
touch ${NM_TMPFOLDER}/.skip
echo -e "${idsCL[Yellow]}Server will be skipped from Node-Manager Status Checks${idsCL[Default]}"