fix check for /etc/firewalld/

This commit is contained in:
Matthew Saunders Brown 2022-11-17 14:43:40 -08:00
parent 6bf7c44560
commit 93629297ba

View File

@ -236,7 +236,7 @@ chmod 755 sbin/*
cp sbin/* /usr/local/sbin/ cp sbin/* /usr/local/sbin/
# enable http (port 80) and https (port 443) in the firewall # enable http (port 80) and https (port 443) in the firewall
[[ -d /etc/firewalld/ ]]; then if [[ -d /etc/firewalld/ ]]; then
firewall-cmd --zone=public --add-service=http firewall-cmd --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=http firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --zone=public --add-service=https firewall-cmd --zone=public --add-service=https