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=dfb50aec838990c1879ce60e99cee9c09553e5e3;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 24970dc084..bd2a4deb73 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