update
This commit is contained in:
@@ -17,13 +17,6 @@ unset IFS
|
||||
|
||||
# ========================================================= #
|
||||
|
||||
echo ""
|
||||
echo -e "${idsCL[LightGreen]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightGreen]}-------------------------------------------------------------${idsCL[Default]}"
|
||||
echo -e "Node hostname: ${node_hostname}"
|
||||
echo -e "${idsCL[LightGreen]}-------------------------------------------------------------${idsCL[Default]}"
|
||||
echo ""
|
||||
|
||||
case "$1" in
|
||||
service)
|
||||
if [ "$2" = "nginx" ]; then SER='NGINX'
|
||||
@@ -31,7 +24,6 @@ case "$1" in
|
||||
elif [ "$2" = "gogs" ]; then SER='Gogs'
|
||||
fi
|
||||
|
||||
echo ""
|
||||
STA="$(tr '[:lower:]' '[:upper:]' <<< ${3:0:1})${3:1}"
|
||||
echo -e "${idsCL[LightGreen]}[[${SER} ${STA}ing]]${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user