From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 08/12] update-location-database: Export database to ipset compatible format now. Date: Mon, 14 Feb 2022 19:42:52 +0100 Message-ID: <20220214184257.2406-8-stefan.schantl@ipfire.org> In-Reply-To: <20220214184257.2406-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6369189642479927825==" List-Id: --===============6369189642479927825== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- src/scripts/update-location-database | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/update-location-database b/src/scripts/update-locati= on-database index 06b22d101..d41a0a947 100644 --- a/src/scripts/update-location-database +++ b/src/scripts/update-location-database @@ -42,8 +42,8 @@ fi =20 # Get the latest location database from server. if /usr/bin/location update --cron=3D$UPDATE_INTERVAL; then - # Call location and export all countries in xt_geoip compatible format. - if /usr/bin/location export --directory=3D/usr/share/xt_geoip --family=3Dip= v4 --format=3Dxt_geoip; then + # Call location and export all countries in an ipset compatible format. + if /usr/bin/location export --directory=3D/var/lib/location/ipset --family= =3Dipv4 --format=3Dipset; then =20 # Call initscript to reload the firewall. /etc/init.d/firewall reload --=20 2.30.2 --===============6369189642479927825==--