mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 18:32:57 +02:00
ids-functions.pl: Remove config files on rulesdir cleanup.
They every time oinkmaster is called will be generated. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -966,9 +966,6 @@ sub _cleanup_rulesdir() {
|
||||
# We only want files.
|
||||
next unless (-f "$rulespath/$file");
|
||||
|
||||
# Skip element if it has config as file extension.
|
||||
next if ($file =~ m/\.config$/);
|
||||
|
||||
# Skip rules file for whitelisted hosts.
|
||||
next if ("$rulespath/$file" eq $whitelist_file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user