From: Stefan Schantl Date: Fri, 14 Apr 2023 18:57:29 +0000 (+0200) Subject: update-location-database: Export as list into new directory X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4eb55bad476a5e29b68174d58b937d1ae120fa2;p=people%2Fstevee%2Fipfire-2.x.git update-location-database: Export as list into new directory Signed-off-by: Stefan Schantl --- diff --git a/src/scripts/update-location-database b/src/scripts/update-location-database index 24970dc08..bd2a4deb7 100644 --- a/src/scripts/update-location-database +++ b/src/scripts/update-location-database @@ -43,7 +43,7 @@ fi # Get the latest location database from server. if /usr/bin/location update --cron=$UPDATE_INTERVAL; 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 + if /usr/bin/location export --directory=/var/lib/location/export --family=ipv4 --format=list; then # Call initscript to reload the firewall. /etc/init.d/firewall reload