mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Revert variable rename (HNSENSOR, HNMASTER)
This commit is contained in:
@@ -326,10 +326,9 @@ whiptail_homenet_master() {
|
||||
|
||||
[ -z "$QUIET" ] && return
|
||||
|
||||
# Ask for the HOME_NET on the master
|
||||
home_network_master=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||
HNMASTER=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||
"Enter your HOME_NET separated by ," 10 75 10.0.0.0/8,192.168.0.0/16,172.16.0.0/12 3>&1 1>&2 2>&3)
|
||||
export home_network_master
|
||||
export HNMASTER
|
||||
|
||||
local exitstatus=$?
|
||||
whiptail_check_exitstatus $exitstatus
|
||||
@@ -345,11 +344,11 @@ whiptail_homenet_sensor() {
|
||||
|
||||
local exitstatus=$?
|
||||
if [ $exitstatus == 0 ]; then
|
||||
export home_network_sensor=inherit
|
||||
export HNSENSOR=inherit
|
||||
else
|
||||
home_network_sensor=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||
HNSENSOR=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||
"Enter your HOME_NET separated by ," 10 75 10.0.0.0/8,192.168.0.0/16,172.16.0.0/12 3>&1 1>&2 2>&3)
|
||||
export home_network_sensor
|
||||
export HNSENSOR
|
||||
|
||||
local exitstatus=$?
|
||||
whiptail_check_exitstatus $exitstatus
|
||||
|
||||
Reference in New Issue
Block a user