From: Peter Müller Date: Tue, 29 Nov 2022 13:41:00 +0000 (+0100) Subject: Core Update 172: Ship and restart Suricata X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=78e0fef411974834040b6f668560b0ddd4aee63f;p=people%2Fms%2Fipfire-2.x.git Core Update 172: Ship and restart Suricata Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/172/update.sh b/config/rootfiles/core/172/update.sh index e731565601..ecf439a926 100644 --- a/config/rootfiles/core/172/update.sh +++ b/config/rootfiles/core/172/update.sh @@ -37,6 +37,7 @@ done /usr/local/bin/openvpnctrl -kn2n /etc/rc.d/init.d/sshd stop /etc/rc.d/init.d/unbound stop +/etc/rc.d/init.d/suricata stop KVER="xxxKVERxxx" @@ -166,6 +167,9 @@ if [ -f "/var/ipfire/ovpn/n2nconf/*/*.conf" ]; then fi # Start services +if grep -q "ENABLE_IDS=on" /var/ipfire/suricata/settings; then + /etc/rc.d/init.d/suricata start +fi /etc/init.d/unbound start if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then /etc/init.d/sshd start