Update nodemgmt-scripts.sh

This commit is contained in:
2023-12-06 09:54:31 -06:00
parent 6f548c2dcf
commit cb509c6ced

View File

@@ -10,7 +10,6 @@ source /opt/idssys/nodemgmt/conf/settings.conf
source /opt/idssys/nodemgmt/defaults.inc
source /opt/idssys/nodemgmt/inc/status.inc
source /opt/idssys/nodemgmt/inc/status.new.inc
source /opt/idssys/nodemgmt/inc/certs.inc
source /opt/idssys/nodemgmt/inc/sites.inc
source /opt/idssys/nodemgmt/inc/services.inc
@@ -872,6 +871,7 @@ GUI(){
STATUSRUN_TMPFOLDER=${NM_TMPFOLDER}/${status_start}
mkdir ${STATUSRUN_TMPFOLDER}
touch "${STATUSRUN_TMPFOLDER}/status-check.running"
if [ "${2}" == "report" ]; then
echo "${status_start} - LOCAL - ${NODE_HOSTNAME} - Starting Status Check" >> ${NM_LOGFILE}
echo -e "${status_start} - Starting status check #############################\n" > ${STATUSRUN_TMPFOLDER}/status-check.running
@@ -891,7 +891,7 @@ GUI(){
fi
else
STATUS ${2} ${3}
rm -f ${NM_TMPFOLDER}/status-check.running
rm -Rf ${STATUSRUN_TMPFOLDER}
fi
fi;;
scantimes) STATUS_SCANTIMES ${2} ${3} ${4} ${5};;