Recreate firewall to remove RELATED

This commit is contained in:
Bob Mottram 2016-06-08 12:28:32 +01:00
parent e830037a9c
commit c565f37033
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 4 additions and 0 deletions

View File

@ -4091,6 +4091,10 @@ function time_synchronisation {
}
function configure_firewall {
if grep -q "RELATED" /etc/firewall.conf; then
# recreate the firewall to remove RELATED
sed -i "/firewall/d" $COMPLETION_FILE
fi
if grep -Fxq "configure_firewall" $COMPLETION_FILE; then
return
fi