mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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 <stefan.schantl@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
d047b493aa
commit
bbaf9bdf21
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user