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
|
||||
|
||||
@@ -418,6 +418,9 @@ service)
|
||||
echo ""
|
||||
exit 0
|
||||
;;
|
||||
gui)
|
||||
|
||||
;;
|
||||
|
||||
*)
|
||||
echo -e "Usage: ${idsCL[Yellow]}nodemgmt${idsCL[Default]} { ${idsCL[Yellow]}service${idsCL[Default]} [service] [action] | ${idsCL[Yellow]}status${idsCL[Default]} | ${idsCL[Yellow]}newcert${idsCL[Default]} [domain(,s)] | ${idsCL[Yellow]}certrenew${idsCL[Default]} }"
|
||||
|
||||
Reference in New Issue
Block a user