mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[wip] Syntax fixes
This commit is contained in:
@@ -556,7 +556,7 @@ collect_proxy() {
|
|||||||
|
|
||||||
if whiptail_proxy_auth_ask; then
|
if whiptail_proxy_auth_ask; then
|
||||||
whiptail_proxy_auth_user "$proxy_user"
|
whiptail_proxy_auth_user "$proxy_user"
|
||||||
whiptail_proxy_auth_pass
|
whiptail_proxy_auth_pass # Don't pass in existing pass since it's obfuscated
|
||||||
|
|
||||||
local url_prefixes=( 'http://' 'https://' )
|
local url_prefixes=( 'http://' 'https://' )
|
||||||
for prefix in "${url_prefixes[@]}"; do
|
for prefix in "${url_prefixes[@]}"; do
|
||||||
|
|||||||
@@ -598,7 +598,7 @@ whiptail_invalid_proxy() {
|
|||||||
Check log (${setup_log}) for details.
|
Check log (${setup_log}) for details.
|
||||||
EOM
|
EOM
|
||||||
|
|
||||||
whiptail --title "Security Onion Setup" --yesno "$message" --yestext "Enter Again" --notext "Skip" 10 60
|
whiptail --title "Security Onion Setup" --yesno "$message" --yes-button "Enter Again" --no-button "Skip" 10 60
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_invalid_string() {
|
whiptail_invalid_string() {
|
||||||
|
|||||||
Reference in New Issue
Block a user