add GLOBALS.pcap_engine

This commit is contained in:
m0duspwnens
2024-01-29 16:54:08 -05:00
parent 88d2ddba8b
commit d118ff4728
7 changed files with 19 additions and 17 deletions

View File

@@ -5,13 +5,12 @@
# https://securityonion.net/license; you may not use this file except in compliance with the
# Elastic License 2.0.
{%- if pcap is steno
PCAPLOC=/host/nsm/pcap
{%- else %}
{%- if GLOBALS.pcap_engine == "SURICATA" %}
PCAPLOC=/host/nsm/suripcap
{%- else %}
PCAPLOC=/host/nsm/pcap
{%- endif %}
# if this script isn't already running
if [[ ! "`pidof -x $(basename $0) -o %PPID`" ]]; then