]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
geoip-functions.pl: Add functions to export locations and to flush them.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 9 Dec 2019 10:05:31 +0000 (11:05 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 9 Dec 2019 10:05:31 +0000 (11:05 +0100)
commite758c7638491eee86720a6b9be097124cbeb9d80
tree19df95ce4ecb881d2a1449c6aca2975d400547d5
parentf5ad4246deff0ddb1b703c74aa58e61e8d8a7866
geoip-functions.pl: Add functions to export locations and to flush them.

The export_locations() function requires an array of country codes which
should be exported by the location-exporter script.

The flush_exported_locations() function is used to flush (delete) all
exported location files.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/geoip-functions.pl