From: Stefan Schantl Date: Sat, 11 Jul 2020 10:11:02 +0000 (+0200) Subject: convert-to-location: Regenerate firewall chains. X-Git-Tag: v2.25-core148~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bbaf9bdf21bff1a48eef82e6807a28d1e939783d;p=ipfire-2.x.git convert-to-location: Regenerate firewall chains. The firewall chain for location based rules has been renamed to LOCATIONBLOCK and therefore the fiewall needs to be restarted and the chains regenerated. Signed-off-by: Stefan Schantl Signed-off-by: Arne Fitzenreiter --- diff --git a/src/scripts/convert-to-location b/src/scripts/convert-to-location index db61d3c79b..9149b854d3 100755 --- a/src/scripts/convert-to-location +++ b/src/scripts/convert-to-location @@ -44,6 +44,9 @@ if [ -f "$FW_CONF_DIR/geoipblock" ]; then # Rename file to the new name. mv "$HOSTS_CONF_DIR/customgeoipgrp" "$HOSTS_CONF_DIR/customlocationgrp" + + # Regenerate firewall chains. + /etc/init.d/firewall restart fi # Finished.