mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
suricata: Replace removed CPU count function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user