mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
suricata: Do not ship an example configuration file
Stop shipping a full example configuration file for suricata. Fixes #11836. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -82,7 +82,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
cd $(DIR_APP) && make install-conf
|
||||
mv /etc/suricata/suricata.yaml /etc/suricata/suricata-example.yaml
|
||||
|
||||
# Remove default suricata config file.
|
||||
rm -rvf /etc/suricata/suricata.yaml
|
||||
|
||||
# Install IPFire related config file.
|
||||
install -m 0644 $(DIR_SRC)/config/suricata/suricata.yaml /etc/suricata
|
||||
-mkdir -p /etc/suricata/rules
|
||||
mv /etc/suricata/*.config /etc/suricata/rules/
|
||||
|
||||
Reference in New Issue
Block a user