From 1975d74ad387e213148832db2792e542de869dda Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Mon, 29 Mar 2021 16:53:52 +0200 Subject: [PATCH] ids-functions.pl: Remove config files on rulesdir cleanup. They every time oinkmaster is called will be generated. Signed-off-by: Stefan Schantl --- config/cfgroot/ids-functions.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index daa0044931..1602c42a96 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -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); -- 2.39.5