mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
convert-ids-multiple-providers: Always remove old enabled / disabled
sids files. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -170,11 +170,11 @@ if (%enabled_disabled_sids) {
|
||||
# Set correct ownerships.
|
||||
&IDS::set_ownership("$IDS::oinkmaster_provider_includes_file");
|
||||
&IDS::set_ownership("$oinkmaster_provider_modified_sids_file");
|
||||
}
|
||||
|
||||
# Remove old files.
|
||||
unlink($old_enabled_sids_file);
|
||||
unlink($old_disabled_sids_file);
|
||||
}
|
||||
|
||||
#
|
||||
## Step 6: Call oinkmaster and regenerate the ruleset structures.
|
||||
|
||||
Reference in New Issue
Block a user