mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
[fix] Add spacing to whiptail menu + preset err
This commit is contained in:
@@ -885,7 +885,7 @@ configure_network_sensor() {
|
||||
connection.autoconnect "yes" >> "$setup_log" 2>&1
|
||||
fi
|
||||
|
||||
local err
|
||||
local err=0
|
||||
for BNIC in "${BNICS[@]}"; do
|
||||
add_interface_bond0 "$BNIC" >> "$setup_log" 2>&1
|
||||
local ret=$?
|
||||
|
||||
@@ -646,8 +646,8 @@ whiptail_first_menu_iso() {
|
||||
[ -n "$TESTING" ] && return
|
||||
|
||||
option=$(whiptail --title "Security Onion Setup" --menu "Select an option" 10 75 2 \
|
||||
"Security Onion Installer" "Run the standard Security Onion installation " \
|
||||
"Configure Network" "Configure networking only " \
|
||||
"Install " "Run the standard Security Onion installation " \
|
||||
"Configure Network " "Configure networking only " \
|
||||
3>&1 1>&2 2>&3
|
||||
)
|
||||
local exitstatus=$?
|
||||
|
||||
Reference in New Issue
Block a user