]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
ids-functions.pl: Do not create an empty ignored settings file.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 5 Mar 2022 17:53:10 +0000 (18:53 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 5 Mar 2022 19:28:24 +0000 (19:28 +0000)
The file will be created by the WUI, when adding the first host.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl

index 79cc369829c7ef9be4ae853069ee284828b7e946..468efc668f43cb9fac8d69e0c42500f4c118de51 100644 (file)
@@ -153,7 +153,6 @@ sub check_and_create_filelayout() {
        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); }
        unless (-f "$whitelist_file" ) { &create_empty_file($whitelist_file); }
 }