mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Core Update 172: Ship and restart Suricata
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
@@ -37,6 +37,7 @@ done
|
|||||||
/usr/local/bin/openvpnctrl -kn2n
|
/usr/local/bin/openvpnctrl -kn2n
|
||||||
/etc/rc.d/init.d/sshd stop
|
/etc/rc.d/init.d/sshd stop
|
||||||
/etc/rc.d/init.d/unbound stop
|
/etc/rc.d/init.d/unbound stop
|
||||||
|
/etc/rc.d/init.d/suricata stop
|
||||||
|
|
||||||
KVER="xxxKVERxxx"
|
KVER="xxxKVERxxx"
|
||||||
|
|
||||||
@@ -166,6 +167,9 @@ if [ -f "/var/ipfire/ovpn/n2nconf/*/*.conf" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Start services
|
# 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
|
/etc/init.d/unbound start
|
||||||
if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then
|
if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then
|
||||||
/etc/init.d/sshd start
|
/etc/init.d/sshd start
|
||||||
|
|||||||
Reference in New Issue
Block a user