Fixed ufw no starting on boot

This commit is contained in:
brammp committed 2020-12-03 12:05:37 +01:00
1 parent a9f57d3513
commit c49a284e5e
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
##--------------------##
if [ "$shortdist" = "cent8" ]; then
semanage port -a -t ssh_port_t -p tcp 4242
systemctl enable ufw
fi
##-------##
+1 -1
View File
@@ -47,7 +47,7 @@ elif [ "$shortdist" = "cent8" ]; then
localectl set-keymap us-int
useradd -r -U -s /usr/sbin/nologin -d /var/www www-data
dnf remove firewalld -y
systemctl disable firewald --now
##-------------##
# Postfix #