Update nodemgmt-scripts.sh
This commit is contained in:
@@ -25,7 +25,7 @@ case "$1" in
|
|||||||
elif [ "$2" = "gogs" ]; then SER='Gogs'
|
elif [ "$2" = "gogs" ]; then SER='Gogs'
|
||||||
fi
|
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
|
||||||
if [ "$3" = "start" ] && [ "$2" = "haproxy" ]; then TACT='restart'; echo "YESSSSSS"; else TACT="${3}"; fi
|
if [ "$3" = "start" ] && [ "$2" = "haproxy" ]; then TACT='restart'; else TACT="${3}"; fi
|
||||||
|
|
||||||
echo -e "${idsCL[LightGreen]}[[${SER} ${ADSIP}ing]]${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}[[${SER} ${ADSIP}ing]]${idsCL[Default]}"
|
||||||
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user