mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
[fix] Revert bad change to whiptail_basic_zeek
This commit is contained in:
@@ -61,13 +61,11 @@ whiptail_basic_zeek() {
|
|||||||
local PROCS=$lb_procs
|
local PROCS=$lb_procs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ZEEKPINS=$(whiptail --noitem --title "Pin Zeek CPUS" --checklist "Please select $PROCS cores to pin Zeek to:" 20 75 12 "${cpu_core_list_whiptail[@]}" 3>&1 1>&2 2>&3 )
|
BASICZEEK=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||||
|
"Enter the number of zeek processes:" 10 75 "$PROCS" 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
whiptail_check_exitstatus $exitstatus
|
whiptail_check_exitstatus $exitstatus
|
||||||
|
|
||||||
ZEEKPINS=$(echo "$ZEEKPINS" | tr -d '"')
|
|
||||||
|
|
||||||
IFS=' ' read -ra ZEEKPINS <<< "$ZEEKPINS"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_zeek_version() {
|
whiptail_zeek_version() {
|
||||||
|
|||||||
Reference in New Issue
Block a user