From 93629297bae16552aa09c2512483b6f6b81983fb Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Thu, 17 Nov 2022 14:43:40 -0800 Subject: [PATCH] fix check for /etc/firewalld/ --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6b23fcf..8e5e3e4 100755 --- a/install.sh +++ b/install.sh @@ -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