missing fi

This commit is contained in:
Trevor Batley 2024-07-18 12:14:10 +10:00
parent 97762ff2bc
commit 204c786296

View File

@ -304,7 +304,7 @@ EOF
# Firewall stuff # Firewall stuff
if systemctl status iptables >/dev/null 2>&1; then if systemctl status iptables >/dev/null 2>&1; then
# set iptables rules for http and https # set iptables rules for http and https
if [ $DEBUG ] ; then echo "iptables here - should we be setting something?" if [ $DEBUG ] ; then echo "iptables here - should we be setting something?" ; fi
fi fi
if firewall-cmd --state >/dev/null 2>&1; then if firewall-cmd --state >/dev/null 2>&1; then
# allow httpd access through firewall # allow httpd access through firewall