Update nodemgmt-scripts.sh

This commit is contained in:
2019-11-24 18:51:23 -06:00
parent 75a6e5c601
commit 8ec3532e39

View File

@@ -1407,6 +1407,12 @@ KEEPALIVE-CONFIG() {
}
NODEUPDATE() {
if [ "${1}" = "report" ]; then
unset idsCL idsBG idsST
idsCL=('')
idsBG=('')
idsST=('')
fi
declare -i cw; declare -i spc1; declare -i c
echo -e "${idsCL[LightGreen]}Updating All Nodes and Webservers${idsCL[Default]}"
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
@@ -1566,7 +1572,7 @@ if [ ${action-x} ]; then
delsites) DELSITES;;
newsite) NEWSITE ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14};;
update) ;;
update-nodes) NODEUPDATE;;
update-nodes) NODEUPDATE ${2};;
backup) BACKUP;;
status) STATUS ${2};;
status-check) STATUS-CHECK ${2};;