From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] ids-functions.pl: Do not create an empty ignored settings file. Date: Sat, 05 Mar 2022 18:53:10 +0100 Message-ID: <20220305175310.3036-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8472904898107940184==" List-Id: --===============8472904898107940184== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The file will be created by the WUI, when adding the first host. Signed-off-by: Stefan Schantl --- config/cfgroot/ids-functions.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index 53ca1bdd4..7223e6bea 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($surica= ta_default_rulefiles_file); } unless (-f "$ids_settings_file") { &create_empty_file($ids_settings_file); } unless (-f "$providers_settings_file") { &create_empty_file($providers_sett= ings_file); } - unless (-f "$ignored_file") { &create_empty_file($ignored_file); } unless (-f "$whitelist_file" ) { &create_empty_file($whitelist_file); } } =20 --=20 2.30.2 --===============8472904898107940184==--