Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
# 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