suricata: Do not display messages when starting up
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 5 Feb 2019 12:57:40 +0000 (13:57 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 5 Feb 2019 12:57:40 +0000 (13:57 +0100)
Fixes #11979.

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

index b406b92..458aed4 100644 (file)
@@ -112,7 +112,7 @@ case "$1" in
                if [ "$ENABLE_IDS" == "on" ]; then
                        # Start the IDS.
                        boot_mesg "Starting Intrusion Detection System..."
-                       /usr/bin/suricata -c /etc/suricata/suricata.yaml -D $NFQUEUES
+                       /usr/bin/suricata -c /etc/suricata/suricata.yaml -D $NFQUEUES >/dev/null 2>/dev/null
                        evaluate_retval
 
                        # Allow reading the pidfile.