From: Stefan Schantl Date: Sun, 6 Mar 2022 14:09:58 +0000 (+0100) Subject: ipblocklist-functions.pl: Allow export of modified_file and X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f4829de97dff28d9368015b9e74a701a3d5dfce;p=people%2Fstevee%2Fipfire-2.x.git 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 --- diff --git a/config/cfgroot/ipblocklist-functions.pl b/config/cfgroot/ipblocklist-functions.pl index cde81684f4..f0e5ff73f1 100644 --- a/config/cfgroot/ipblocklist-functions.pl +++ b/config/cfgroot/ipblocklist-functions.pl @@ -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";