Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1407,6 +1407,12 @@ KEEPALIVE-CONFIG() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
NODEUPDATE() {
|
NODEUPDATE() {
|
||||||
|
if [ "${1}" = "report" ]; then
|
||||||
|
unset idsCL idsBG idsST
|
||||||
|
idsCL=('')
|
||||||
|
idsBG=('')
|
||||||
|
idsST=('')
|
||||||
|
fi
|
||||||
declare -i cw; declare -i spc1; declare -i c
|
declare -i cw; declare -i spc1; declare -i c
|
||||||
echo -e "${idsCL[LightGreen]}Updating All Nodes and Webservers${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}Updating All Nodes and Webservers${idsCL[Default]}"
|
||||||
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
||||||
@@ -1566,7 +1572,7 @@ if [ ${action-x} ]; then
|
|||||||
delsites) DELSITES;;
|
delsites) DELSITES;;
|
||||||
newsite) NEWSITE ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14};;
|
newsite) NEWSITE ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14};;
|
||||||
update) ;;
|
update) ;;
|
||||||
update-nodes) NODEUPDATE;;
|
update-nodes) NODEUPDATE ${2};;
|
||||||
backup) BACKUP;;
|
backup) BACKUP;;
|
||||||
status) STATUS ${2};;
|
status) STATUS ${2};;
|
||||||
status-check) STATUS-CHECK ${2};;
|
status-check) STATUS-CHECK ${2};;
|
||||||
|
|||||||
Reference in New Issue
Block a user