From: Stefan Schantl Date: Fri, 11 Feb 2022 20:31:19 +0000 (+0100) Subject: update-location-database: Export database to ipset compatible format now. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44ebe2ec28f08e749dfbad86a65ff9fe8b0aa515;p=people%2Fstevee%2Fipfire-2.x.git update-location-database: Export database to ipset compatible format now. Signed-off-by: Stefan Schantl --- diff --git a/src/scripts/update-location-database b/src/scripts/update-location-database index 06b22d101c..d41a0a947b 100644 --- a/src/scripts/update-location-database +++ b/src/scripts/update-location-database @@ -42,8 +42,8 @@ fi # Get the latest location database from server. if /usr/bin/location update --cron=$UPDATE_INTERVAL; then - # Call location and export all countries in xt_geoip compatible format. - if /usr/bin/location export --directory=/usr/share/xt_geoip --family=ipv4 --format=xt_geoip; then + # Call location and export all countries in an ipset compatible format. + if /usr/bin/location export --directory=/var/lib/location/ipset --family=ipv4 --format=ipset; then # Call initscript to reload the firewall. /etc/init.d/firewall reload