Fixed ufw no starting on boot

This commit is contained in:
2020-12-03 12:05:37 +01:00
parent a9f57d3513
commit c49a284e5e
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
##--------------------##
if [ "$shortdist" = "cent8" ]; then
semanage port -a -t ssh_port_t -p tcp 4242
systemctl enable ufw
fi
##-------##