mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +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
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
# Get amount of CPU cores.
|
# Get amount of CPU cores
|
||||||
cpu_count=$(get_cpu_count)
|
cpu_count="$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
|
||||||
# Numer of NFQUES.
|
# Numer of NFQUES.
|
||||||
NFQUEUES="-q 0"
|
NFQUEUES="-q 0"
|
||||||
|
|||||||
Reference in New Issue
Block a user