update
This commit is contained in:
@@ -31,7 +31,7 @@ DISP_HEADER(){
|
||||
echo ""
|
||||
echo -e "${idsCL[Yellow]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}"
|
||||
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
|
||||
if [ "$1" != false ]; then
|
||||
if [ "$2" = true ]; then
|
||||
echo -e "Node hostname: ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME}${idsCL[Default]}${idsST[Reset]}"
|
||||
if [ -z ${LOCAL_SERVICES+x} ]; then SERVICES=$( IFS=$','; echo "${NODE_SERVICES[*]}" )
|
||||
else SERVICES=$( IFS=$','; echo "${LOCAL_SERVICES[*]}" )
|
||||
|
||||
@@ -417,7 +417,7 @@ SERVICE(){
|
||||
}
|
||||
|
||||
GUI(){
|
||||
DISP_HEADER true
|
||||
DISP_HEADER true true
|
||||
while :
|
||||
do
|
||||
echo " [1] Node Status"
|
||||
@@ -455,7 +455,7 @@ GUI(){
|
||||
done
|
||||
}
|
||||
if [ ${action-x} ]; then
|
||||
DISP_HEADER false
|
||||
DISP_HEADER
|
||||
case $action in
|
||||
newcert) NEWCERT ${2};;
|
||||
certrenew) CERTRENEW;;
|
||||
|
||||
Reference in New Issue
Block a user