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 -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[*]}" )

View File

@@ -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;;