update
This commit is contained in:
@@ -373,7 +373,7 @@ NODEUPDATES() {
|
|||||||
for nodecmd in /tmp/.nodeupdate.*.done; do
|
for nodecmd in /tmp/.nodeupdate.*.done; do
|
||||||
if [[ "${nodecmd}" != *"*"* ]]; then
|
if [[ "${nodecmd}" != *"*"* ]]; then
|
||||||
nodecmd_output=$(cat ${nodecmd})
|
nodecmd_output=$(cat ${nodecmd})
|
||||||
[ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}"
|
# [ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}"
|
||||||
rm -f ${nodecmd}
|
rm -f ${nodecmd}
|
||||||
((nc_count++))
|
((nc_count++))
|
||||||
fi
|
fi
|
||||||
@@ -1307,10 +1307,6 @@ GUI(){
|
|||||||
|
|
||||||
update)
|
update)
|
||||||
if [ "${2}" == "nodes" ]; then
|
if [ "${2}" == "nodes" ]; then
|
||||||
unset idsCL idsBG idsST
|
|
||||||
idsCL=('')
|
|
||||||
idsBG=('')
|
|
||||||
idsST=('')
|
|
||||||
NODEUPDATES
|
NODEUPDATES
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
5
run.sh
5
run.sh
@@ -9,11 +9,6 @@ source /opt/idssys/defaults/default.inc
|
|||||||
source /opt/idssys/nodemgmt/conf/settings.conf
|
source /opt/idssys/nodemgmt/conf/settings.conf
|
||||||
source /opt/idssys/nodemgmt/defaults.inc
|
source /opt/idssys/nodemgmt/defaults.inc
|
||||||
|
|
||||||
unset idsCL idsBG idsST
|
|
||||||
idsCL=('')
|
|
||||||
idsBG=('')
|
|
||||||
idsST=('')
|
|
||||||
|
|
||||||
# if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then
|
# if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then
|
||||||
if [ "${1}" == "update" ] || ([ "${1}" == "update" ] && [ "${2}" == "nodes" ]) || ([ "${1}" == "update-nodes" ] && [ "${3}" != "sync" ]); then
|
if [ "${1}" == "update" ] || ([ "${1}" == "update" ] && [ "${2}" == "nodes" ]) || ([ "${1}" == "update-nodes" ] && [ "${3}" != "sync" ]); then
|
||||||
if [ "${1}" == "update-nodes" ] || [ "${2}" == "nodes" ]; then
|
if [ "${1}" == "update-nodes" ] || [ "${2}" == "nodes" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user