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-Tag: v2.27-core165~15^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cad86575323c49037aff053210325cfdf98deafa;p=ipfire-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 --- diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index 79cc369829..468efc668f 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); } }