]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
suricata: Create empyt threshold.config file. next-core162-ids-mp
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 3 Dec 2021 14:58:40 +0000 (15:58 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 3 Dec 2021 14:58:40 +0000 (15:58 +0100)
Suricata tries to load and read this file during startup and will print
a warning in case it does not exist.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
lfs/suricata

index e08c73986b0ebb8743d6aaa0dcfb8590b6874a58..b4483b02ff7b0baccd4bcbad3ec2055d52a9596d 100644 (file)
@@ -103,6 +103,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # to the rules directory.
        rm -rfv /etc/suricata/*.config
 
+       # Create empty threshold.config file
+       touch /usr/share/suricata/threshold.config
+
        # Set correct ownership for the classifiction config file.
        # (File has to be writeable for the nobody user)
        chown nobody:nobody /usr/share/suricata/classification.config