Update nodemgmt-scripts.sh
This commit is contained in:
@@ -385,7 +385,7 @@ service)
|
||||
if [ "$3" = "stop" ]; then ADISP='Stopp'
|
||||
elif [ "$3" = "enable" ]; then ADISP='Enabl'
|
||||
elif [ "$3" = "disable" ]; then ADISP='Disabl'
|
||||
else ADISP="$(tr '[:lower:]' '[:upper:]' <<< ${3:0:1})${3:1}"
|
||||
else ADISP=${3~}
|
||||
fi
|
||||
if [ "$3" = "start" ] && [ "$2" = "haproxy" ]; then TACT='restart'; else TACT="${3}"; fi
|
||||
|
||||
@@ -417,6 +417,9 @@ service)
|
||||
echo -e "${idsCL[Green]}${NM_SERVICES[${2}]} has been ${ADISP}ed${idsCL[Default]}"
|
||||
echo ""
|
||||
exit 0
|
||||
;;
|
||||
gui)
|
||||
|
||||
;;
|
||||
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user