Update nodemgmt-scripts.sh

This commit is contained in:
2025-03-10 22:58:06 -05:00
parent d726a36b06
commit 2ad68f2cef

View File

@@ -1198,7 +1198,7 @@ SKIP_SERVER_CHECKS(){
if [ "${1}" == "on" ] || ([ ! -f ${NM_TMPFOLDER}/.skip ] && [ "${1}" == "" ]); then
touch ${NM_TMPFOLDER}/.skip
echo -e "${idsCL[Yellow]}Server will be skipped from Node-Manager Status Checks${idsCL[Default]}"
if [ systemctl is-active keepalived ]; then
if [ "$(systemctl is-active keepalived)" ]; then
echo -en "${idsCL[Red]}Stopping${idsCL[LightCyan]} Keepalived ... ${idsCL[Default]}"
systemctl stop keepalived >/dev/null 2>&1
echo -e "${idsCL[Green]}Done${idsCL[Default]}"