]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids-functions.pl: Create default rules file file. master-IDSv3
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 8 Jan 2022 15:25:17 +0000 (16:25 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 8 Jan 2022 15:25:17 +0000 (16:25 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl

index 024fe077a5503b5a509013aff4ef2a61cbf40e0c..74d55def6c986ca96b3104f24eb8c865978cd071 100644 (file)
@@ -150,6 +150,7 @@ sub check_and_create_filelayout() {
        unless (-f "$oinkmaster_provider_includes_file") { &create_empty_file($oinkmaster_provider_includes_file); }
        unless (-f "$modify_sids_file") { &create_empty_file($modify_sids_file); }
        unless (-f "$suricata_used_providers_file") { &create_empty_file($suricata_used_providers_file); }
+       unless (-f "$suricata_default_rulefiles_file") { &create_empty_file($suricata_default_rulefiles_file); }
        unless (-f "$ids_settings_file") { &create_empty_file($ids_settings_file); }
        unless (-f "$providers_settings_file") { &create_empty_file($providers_settings_file); }
        unless (-f "$ignored_file") { &create_empty_file($ignored_file); }