mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
convert-to-location: Fix double patch declaration
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
d0cbdd6363
commit
d047b493aa
@@ -36,7 +36,7 @@ if [ -f "$FW_CONF_DIR/geoipblock" ]; then
|
||||
for file in "$FW_CONF_DIR/config" "$FW_CONF_DIR/input" "$FW_CONF_DIR/outgoing"; do
|
||||
# Convert pattern which indicates location based rules to the new
|
||||
# ones.
|
||||
sed -i 's/cust_geoip/cust_location/g' "$FW_CONF_DIR/$file"
|
||||
sed -i 's/cust_geoip/cust_location/g' "$file"
|
||||
done
|
||||
|
||||
# Rename indicator for location based groups to the new one.
|
||||
|
||||
Reference in New Issue
Block a user