This commit is contained in:
2024-11-29 18:59:43 -06:00
parent 917aa37aba
commit 16a40701f1
2 changed files with 1 additions and 10 deletions

View File

@@ -373,7 +373,7 @@ NODEUPDATES() {
for nodecmd in /tmp/.nodeupdate.*.done; do
if [[ "${nodecmd}" != *"*"* ]]; then
nodecmd_output=$(cat ${nodecmd})
[ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}"
# [ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}"
rm -f ${nodecmd}
((nc_count++))
fi
@@ -1307,10 +1307,6 @@ GUI(){
update)
if [ "${2}" == "nodes" ]; then
unset idsCL idsBG idsST
idsCL=('')
idsBG=('')
idsST=('')
NODEUPDATES
fi
;;

5
run.sh
View File

@@ -9,11 +9,6 @@ source /opt/idssys/defaults/default.inc
source /opt/idssys/nodemgmt/conf/settings.conf
source /opt/idssys/nodemgmt/defaults.inc
unset idsCL idsBG idsST
idsCL=('')
idsBG=('')
idsST=('')
# if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then
if [ "${1}" == "update" ] || ([ "${1}" == "update" ] && [ "${2}" == "nodes" ]) || ([ "${1}" == "update-nodes" ] && [ "${3}" != "sync" ]); then
if [ "${1}" == "update-nodes" ] || [ "${2}" == "nodes" ]; then