Explorar el Código

Recreate firewall to remove RELATED

Bob Mottram hace 9 años
padre
commit
c565f37033
Ninguna cuenta está vinculada al correo electrónico del colaborador
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone Ver fichero

@@ -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