public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] ids-functions.pl: Do not create an empty ignored settings file.
@ 2022-03-05 17:53 Stefan Schantl
  0 siblings, 0 replies; only message in thread
From: Stefan Schantl @ 2022-03-05 17:53 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 905 bytes --]

The file will be created by the WUI, when adding the first host.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 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($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); }
 }
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-05 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-05 17:53 [PATCH] ids-functions.pl: Do not create an empty ignored settings file Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox