ipblocklist-functions.pl: Allow export of modified_file and

blocklist_dir values.

They so easily can be accessed by other perl scripts.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2022-03-06 15:09:58 +01:00
parent d8113820e3
commit 7f4829de97

View File

@@ -31,10 +31,10 @@ our $settings_dir = "/var/ipfire/ipblocklist";
our $settings_file = "$settings_dir/settings";
# The file which keeps the time, when a blocklist last has been modified.
my $modified_file = "$settings_dir/modified";
our $modified_file = "$settings_dir/modified";
# Location where the blocklists in ipset compatible format are stored.
my $blocklist_dir = "/var/lib/ipblocklist";
our $blocklist_dir = "/var/lib/ipblocklist";
# File extension of the blocklist files.
my $blocklist_file_extension = ".conf";