update
This commit is contained in:
@@ -342,14 +342,14 @@ NODEUPDATES() {
|
||||
start=`date +%s`
|
||||
cw=40;
|
||||
rm -f /tmp/.nodeupdate.*
|
||||
# if [ "${1}" = "report" ]; then
|
||||
if [ "${1}" = "report" ]; then
|
||||
unset idsCL idsBG idsST
|
||||
idsCL=('')
|
||||
idsBG=('')
|
||||
idsST=('')
|
||||
# else
|
||||
else
|
||||
echo
|
||||
# fi
|
||||
fi
|
||||
declare -i spc1; declare -i c
|
||||
echo -e "${idsCL[LightGreen]}Updating All Nodes${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
||||
|
||||
5
run.sh
5
run.sh
@@ -9,6 +9,11 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user