Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user