suricata: Replace removed CPU count function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-09-09 19:37:56 +02:00
parent 84a73d5f39
commit 54a58a2891

View File

@@ -103,8 +103,8 @@ generate_fw_rules() {
case "$1" in
start)
# Get amount of CPU cores.
cpu_count=$(get_cpu_count)
# Get amount of CPU cores
cpu_count="$(getconf _NPROCESSORS_ONLN)"
# Numer of NFQUES.
NFQUEUES="-q 0"