fix check for /etc/firewalld/
This commit is contained in:
parent
6bf7c44560
commit
93629297ba
|
@ -236,7 +236,7 @@ chmod 755 sbin/*
|
|||
cp sbin/* /usr/local/sbin/
|
||||
|
||||
# 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 --permanent --zone=public --add-service=http
|
||||
firewall-cmd --zone=public --add-service=https
|
||||
|
|
Loading…
Reference in New Issue
Block a user