mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 04:52:59 +02:00
Core Update 173: Ship and restart Suricata
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/173/filelists/suricata
Symbolic link
1
config/rootfiles/core/173/filelists/suricata
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/suricata
|
||||
@@ -49,6 +49,7 @@ done
|
||||
/usr/local/bin/openvpnctrl -k
|
||||
/usr/local/bin/openvpnctrl -kn2n
|
||||
/etc/rc.d/init.d/sshd stop
|
||||
/etc/rc.d/init.d/suricata stop
|
||||
|
||||
KVER="xxxKVERxxx"
|
||||
|
||||
@@ -135,6 +136,9 @@ done
|
||||
/usr/local/bin/sshctrl
|
||||
|
||||
# Start services
|
||||
if grep -q "ENABLE_IDS=on" /var/ipfire/suricata/settings; then
|
||||
/etc/rc.d/init.d/suricata start
|
||||
fi
|
||||
/etc/rc.d/init.d/apache start
|
||||
if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then
|
||||
/etc/init.d/sshd start
|
||||
|
||||
Reference in New Issue
Block a user