mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
[fix][wip] Only setup proxy early on configure network setup
This commit is contained in:
@@ -1729,10 +1729,6 @@ network_init() {
|
||||
fi
|
||||
set_main_ip >> $setup_log 2>&1
|
||||
compare_main_nic_ip
|
||||
# Check if the proxy variable was set then set proxy for various apps if so
|
||||
if [[ -n "$so_proxy" ]]; then
|
||||
set_proxy >> $setup_log 2>&1
|
||||
fi
|
||||
}
|
||||
|
||||
network_init_whiptail() {
|
||||
|
||||
@@ -308,7 +308,6 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
[[ -n "$proxy_addr" ]] && set_proxy >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
if [[ -n "$TURBO" ]]; then
|
||||
@@ -560,6 +559,8 @@ catch() {
|
||||
|
||||
# Set REDIRECTIT variable, which is used by a function outside the below subshell
|
||||
set_redirect >> $setup_log 2>&1
|
||||
[[ -n "$proxy_addr" ]] && set_proxy >> $setup_log 2>&1
|
||||
|
||||
|
||||
# Begin install
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user