This commit is contained in:
2019-02-04 00:03:24 -06:00
parent b8b73bcca6
commit b70fc338f0
2 changed files with 4 additions and 3 deletions

View File

@@ -25,7 +25,9 @@ NM_SERVICES['cmon-events']='CC-Events Manager'
NM_SERVICES['cmon-cloud']='CC-Cloud Daemon'
DISP_HEADER(){
clear
if [ "$1" = true ]; then
clear
fi
echo ""
echo -e "${idsCL[Yellow]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}"
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"

View File

@@ -18,7 +18,6 @@ source /opt/idssys/nodemgmt/defaults.inc
# ========================================================= #
STATUS() {
echo ""
if [ ! -z ${LOCAL_SERVICES+x} ]; then
lip=$(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1)
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
@@ -418,7 +417,7 @@ SERVICE(){
}
GUI(){
DISP_HEADER
DISP_HEADER true
while :
do
echo " [1] Node Status"