From: Stefan Schantl Date: Sat, 5 Mar 2022 17:53:10 +0000 (+0100) Subject: ids-functions.pl: Do not create an empty ignored settings file. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dcacf03e80d714bd120a877d16a862ffce47dd26;p=people%2Fms%2Fipfire-2.x.git ids-functions.pl: Do not create an empty ignored settings file. The file will be created by the WUI, when adding the first host. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index e8793f8be2..37dd42b03f 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -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); } }