From 254d8539fe6be081881fd13eddb9c0ae2d2ce914 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 6 Jul 2023 22:08:38 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index f1bc9ead..348e4509 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -303,9 +303,9 @@ SERVICE(){ #$NCMD systemctl $2 $1 > /dev/null 2>&1 if [ "${3}" != "q" ]; then if [[ "enable,disable" = *"${2}"* ]] || [ "${1}" = "daemon-reload" ]; then - echo -e "${idsCL[Green]}OK${idsCL[Default]}" + echo -e "${idsCL[Green]}Done${idsCL[Default]}" elif [ "$(${NCMD} systemctl is-active ${1})" = "active" ]; then - echo -e "${idsCL[Green]}OK${idsCL[Default]}" + echo -e "${idsCL[Green]}Done${idsCL[Default]}" elif [ "$2" = "stop" ]; then echo -e "${idsCL[Red]}STOPPED${idsCL[Default]}" else @@ -529,9 +529,9 @@ SERVICE(){ $NCMD systemctl ${2} ${srva} >/dev/null 2>&1 if [ "${3}" != "q" ]; then if [[ "enable,disable" = *"${2}"* ]] || [ "${1}" = "daemon-reload" ]; then - echo -e "${idsCL[Green]}OK${idsCL[Default]}" + echo -e "${idsCL[Green]}Done${idsCL[Default]}" elif [ "$(${NCMD} systemctl is-active ${1})" = "active" ]; then - echo -e "${idsCL[Green]}OK${idsCL[Default]}" + echo -e "${idsCL[Green]}Done${idsCL[Default]}" elif [ "$2" = "stop" ]; then echo -e "${idsCL[Red]}STOPPED${idsCL[Default]}" else