Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-28 15:46:55 -06:00
parent 244dfa26e9
commit 9f4c3d3d6a

View File

@@ -30,7 +30,8 @@ case "$1" in
elif [ "$2" = "keepalived" ]; then SER='Keepalived'
elif [ "$2" = "maxscale" ]; then SER='MaxScale'
fi
if [ "$3" = "stop" ]; then ADISP='Stopp'; else ADISP="$(tr '[:lower:]' '[:upper:]' <<< ${3:0:1})${3:1}"; fi
#if [ "$3" = "stop" ]; then ADISP='Stopp'; else ADISP="$(tr '[:lower:]' '[:upper:]' <<< ${3:0:1})${3:1}"; fi
ADISP=$3
if [ "$3" = "start" ] && [ "$2" = "haproxy" ]; then TACT='restart'; else TACT="${3}"; fi
echo -e "${idsCL[LightGreen]}[[${SER} ${ADISP}ing]]${idsCL[Default]}"