mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 10:35:53 +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
|
||||
/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
|
||||
|
||||
Reference in New Issue
Block a user