Parcourir la source

Recreate firewall to remove RELATED

Bob Mottram il y a 8 ans
Parent
révision
c565f37033
Aucun compte lié à l'adresse email de l'auteur
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone Voir le fichier

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