Recreate firewall to remove RELATED
This commit is contained in:
parent
e830037a9c
commit
c565f37033
|
@ -4091,6 +4091,10 @@ function time_synchronisation {
|
||||||
}
|
}
|
||||||
|
|
||||||
function configure_firewall {
|
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
|
if grep -Fxq "configure_firewall" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue