This commit is contained in:
2019-02-04 00:14:09 -06:00
parent 6c1b586b7a
commit 7ffcba0982
2 changed files with 6 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ DISP_HEADER(){
fi fi
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]}" DIVIDER
if [ "$2" = true ]; 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[*]}" )
@@ -45,12 +45,14 @@ DISP_HEADER(){
else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}" else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
fi fi
done done
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" eDIVIDER
fi fi
echo "" echo ""
} }
DIVIDER(){ DIVIDER(){
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
echo "" if [ "$1" = true ]; then
echo ""
fi
} }

View File

@@ -436,7 +436,7 @@ GUI(){
read -n 1 opt read -n 1 opt
echo "" echo ""
case $opt in case $opt in
1) DIVIDER; STATUS; GUI;; 1) STATUS; GUI;;
2) GLANCES_INSTALL 2) GLANCES_INSTALL
INSTALL_MENU;; INSTALL_MENU;;
3) X11VNC_INSTALL 3) X11VNC_INSTALL