]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/scripts/convert-to-location
convert-to-location: Regenerate firewall chains.
[ipfire-2.x.git] / src / scripts / convert-to-location
index db61d3c79bee36975426d7cf228235a3fec08575..9149b854d32c011bec8c621474d35bf10d0bb87f 100755 (executable)
@@ -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.