From d4eb55bad476a5e29b68174d58b937d1ae120fa2 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Fri, 14 Apr 2023 20:57:29 +0200 Subject: [PATCH] update-location-database: Export as list into new directory Signed-off-by: Stefan Schantl --- src/scripts/update-location-database | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5