]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Core Update 171: Fix Suricata stop/start
authorPeter Müller <peter.mueller@ipfire.org>
Sun, 2 Oct 2022 09:46:47 +0000 (09:46 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Sun, 2 Oct 2022 09:46:47 +0000 (09:46 +0000)
My fault, again. :-/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/171/update.sh

index e2fd36f23bca94298fee34d050b566fa93d182b3..5d66623f04ee567b27724ddb0efa743de04ee831 100644 (file)
@@ -50,7 +50,7 @@ done
 /usr/local/bin/openvpnctrl -k
 /usr/local/bin/openvpnctrl -kn2n
 /etc/rc.d/init.d/ipsec stop
-/etc/init.d/rc.d/suricata stop
+/etc/rc.d/init.d/suricata stop
 /etc/rc.d/init.d/collectd stop
 
 KVER="xxxKVERxxx"
@@ -228,7 +228,7 @@ chown -v root:root /var/ipfire/backup/{in,ex}clude*
 
 # Start services
 /etc/rc.d/init.d/collectd start
-if grep -q "ENABLED=on" /var/ipfire/suricata/settings; then
+if grep -q "ENABLE_IDS=on" /var/ipfire/suricata/settings; then
        /etc/rc.d/init.d/suricata start
 fi
 /etc/rc.d/init.d/unbound start