mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 15:32:59 +02:00
ids-functions.pl: Call &_cleanup_rulesdir() function before calling oinkmaster.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -197,6 +197,9 @@ sub oinkmaster () {
|
||||
# Check if the files in rulesdir have the correct permissions.
|
||||
&_check_rulesdir_permissions();
|
||||
|
||||
# Cleanup the rules directory before filling it with the new rulest.
|
||||
&_cleanup_rulesdir();
|
||||
|
||||
# Load perl module to talk to the kernel syslog.
|
||||
use Sys::Syslog qw(:DEFAULT setlogsock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user