This commit is contained in:
2019-02-04 00:05:23 -06:00
parent b70fc338f0
commit 9c6687b5be
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ DISP_HEADER(){
echo "" echo ""
echo -e "${idsCL[Yellow]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}" echo -e "${idsCL[Yellow]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}"
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${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]}" 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[*]}" ) if [ -z ${LOCAL_SERVICES+x} ]; then SERVICES=$( IFS=$','; echo "${NODE_SERVICES[*]}" )
else SERVICES=$( IFS=$','; echo "${LOCAL_SERVICES[*]}" ) else SERVICES=$( IFS=$','; echo "${LOCAL_SERVICES[*]}" )

View File

@@ -417,7 +417,7 @@ SERVICE(){
} }
GUI(){ GUI(){
DISP_HEADER true DISP_HEADER true true
while : while :
do do
echo " [1] Node Status" echo " [1] Node Status"
@@ -455,7 +455,7 @@ GUI(){
done done
} }
if [ ${action-x} ]; then if [ ${action-x} ]; then
DISP_HEADER false DISP_HEADER
case $action in case $action in
newcert) NEWCERT ${2};; newcert) NEWCERT ${2};;
certrenew) CERTRENEW;; certrenew) CERTRENEW;;