Update nodemgmt-scripts.sh

This commit is contained in:
2025-06-23 13:25:07 -05:00
parent 66ab8dfdf5
commit 102c02f40f

View File

@@ -1218,7 +1218,7 @@ SKIP_SERVER_CHECKS(){
elif [ "${1}" == "off" ] || [ "${1}" == "reboot" ] || ([ -f ${NM_TMPFOLDER}/.skip ] && [ "${1}" == "" ]); then
rm -f ${NM_TMPFOLDER}/.skip
echo -e "${idsCL[LightGreen]}Server has been re-enabled for Node-Manager Status Checks${idsCL[Default]}"
if [ "${1}" != "reboot" ] && [ "$(systemctl list-units --full -all | grep keepalived | grep loaded)" ]; then
if [ "${1}" != "reboot" ] && [ "$(dpkg -l | grep keepalived)" ]; then
echo -en "${idsCL[Green]}Starting${idsCL[LightCyan]} Keepalived ... ${idsCL[Default]}"
systemctl start keepalived >/dev/null 2>&1
echo -e "${idsCL[Green]}Done${idsCL[Default]}"