mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
suricata: Remove superfluous bits from the initscript
I don't know why these hacks are here. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -23,8 +23,6 @@
|
|||||||
. ${rc_functions}
|
. ${rc_functions}
|
||||||
. /etc/init.d/networking/functions.network
|
. /etc/init.d/networking/functions.network
|
||||||
|
|
||||||
PATH=/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin; export PATH
|
|
||||||
|
|
||||||
eval $(/usr/local/bin/readhash /var/ipfire/suricata/settings)
|
eval $(/usr/local/bin/readhash /var/ipfire/suricata/settings)
|
||||||
eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
|
eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
|
||||||
|
|
||||||
@@ -198,5 +196,3 @@ case "$1" in
|
|||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
chmod 644 /var/log/suricata/* 2>/dev/null
|
|
||||||
|
|||||||
Reference in New Issue
Block a user