mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Symmetrical spaces + remove useless logic
This commit is contained in:
@@ -1040,14 +1040,11 @@ whiptail_net_method() {
|
|||||||
|
|
||||||
EOM
|
EOM
|
||||||
local options=(
|
local options=(
|
||||||
" Direct" ""
|
" Direct " ""
|
||||||
)
|
)
|
||||||
local proxy_desc="proxy the traffic for git, docker client, wget, curl, ${pkg_mngr}, and various other SO components through a separate server in your environment."
|
local proxy_desc="proxy the traffic for git, docker client, wget, curl, ${pkg_mngr}, and various other SO components through a separate server in your environment."
|
||||||
|
|
||||||
if [[ $is_minion ]]; then
|
if [[ $is_minion ]]; then
|
||||||
local mngr_article
|
|
||||||
if [[ $is_distmanager ]]; then mngr_article="this"; else mngr_article="the"; fi
|
|
||||||
|
|
||||||
read -r -d '' options_msg <<- EOM
|
read -r -d '' options_msg <<- EOM
|
||||||
${options_msg}
|
${options_msg}
|
||||||
|
|
||||||
@@ -1059,9 +1056,9 @@ whiptail_net_method() {
|
|||||||
EOM
|
EOM
|
||||||
|
|
||||||
options+=(
|
options+=(
|
||||||
" Direct + Manager" ""
|
" Direct + Manager " ""
|
||||||
" Proxy" ""
|
" Proxy " ""
|
||||||
" Proxy + Manager" ""
|
" Proxy + Manager " ""
|
||||||
)
|
)
|
||||||
local height=25
|
local height=25
|
||||||
else
|
else
|
||||||
@@ -1071,7 +1068,7 @@ whiptail_net_method() {
|
|||||||
"Proxy" - ${proxy_desc}
|
"Proxy" - ${proxy_desc}
|
||||||
EOM
|
EOM
|
||||||
options+=(
|
options+=(
|
||||||
" Proxy" ""
|
" Proxy " ""
|
||||||
)
|
)
|
||||||
local height=17
|
local height=17
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user