ids-functions.pl: Do not create an empty ignored settings file.

Message ID 20220305175310.3036-1-stefan.schantl@ipfire.org
State Accepted
Commit dcacf03e80d714bd120a877d16a862ffce47dd26
Headers
Series ids-functions.pl: Do not create an empty ignored settings file. |

Commit Message

Stefan Schantl March 5, 2022, 5:53 p.m. UTC
  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 | 1 -
 1 file changed, 1 deletion(-)
  

Patch

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); }
 }