mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +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.
|
# Set correct ownerships.
|
||||||
&IDS::set_ownership("$IDS::oinkmaster_provider_includes_file");
|
&IDS::set_ownership("$IDS::oinkmaster_provider_includes_file");
|
||||||
&IDS::set_ownership("$oinkmaster_provider_modified_sids_file");
|
&IDS::set_ownership("$oinkmaster_provider_modified_sids_file");
|
||||||
|
}
|
||||||
|
|
||||||
# Remove old files.
|
# Remove old files.
|
||||||
unlink($old_enabled_sids_file);
|
unlink($old_enabled_sids_file);
|
||||||
unlink($old_disabled_sids_file);
|
unlink($old_disabled_sids_file);
|
||||||
}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
## Step 6: Call oinkmaster and regenerate the ruleset structures.
|
## Step 6: Call oinkmaster and regenerate the ruleset structures.
|
||||||
|
|||||||
Reference in New Issue
Block a user