Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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};;
|
||||
|
||||
Reference in New Issue
Block a user