From: Stefan Schantl Date: Mon, 29 Mar 2021 14:53:52 +0000 (+0200) Subject: ids-functions.pl: Remove config files on rulesdir cleanup. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc603ecfb32e152a9fa9c60888f1f0fec11ecfc6;p=people%2Fstevee%2Fipfire-2.x.git ids-functions.pl: Remove config files on rulesdir cleanup. They every time oinkmaster is called will be generated. Signed-off-by: Stefan Schantl --- 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);