You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
function checkFirewalldXML {
## Check the firewalld xml profile, suggest and offer to fix it.
if [ $(egrep ${FIREWALL_REGEX} ${FIREWALLD_XML} | wc -l) -lt ${EXPECTED_PORTCOUNT} ]
then
printError "Incorrect firewalld manifest detected"
echo -n "Would you like me to correct it ? [y|N] : "
read yesno
if [ $yesno == 'y' ]
then
echo "Correcting firewalld profile and reloading"
fixFirewalldProfile
firewall-cmd --add-service=RH-Satellite-6 --permanent
firewall-cmd --reload
else
printWarning "Leaving the firewalld profile as is as is"
fi
else
printOK "firewalld xml profile looks ok"
fi
}
The text was updated successfully, but these errors were encountered:
https://github.com/boogiespook/sat6_healthCheck/blob/master/sat6_healthCheck.sh#L339-L360
The text was updated successfully, but these errors were encountered: