mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Only check for ZEEKVERSION on manager installs
This commit is contained in:
@@ -459,7 +459,12 @@ if [[ $is_sensor && ! $is_eval ]]; then
|
|||||||
collect_homenet_snsr
|
collect_homenet_snsr
|
||||||
whiptail_sensor_config
|
whiptail_sensor_config
|
||||||
if [ $NSMSETUP == 'ADVANCED' ]; then
|
if [ $NSMSETUP == 'ADVANCED' ]; then
|
||||||
[[ $ZEEKVERSION == "ZEEK" ]] && whiptail_zeek_pins
|
if [[ $is_manager ]]; then
|
||||||
|
[[ $ZEEKVERSION == "ZEEK" ]] && whiptail_zeek_pins
|
||||||
|
else
|
||||||
|
whiptail_zeek_pins
|
||||||
|
fi
|
||||||
|
|
||||||
whiptail_suricata_pins
|
whiptail_suricata_pins
|
||||||
collect_mtu
|
collect_mtu
|
||||||
else
|
else
|
||||||
@@ -469,7 +474,13 @@ if [[ $is_sensor && ! $is_eval ]]; then
|
|||||||
else
|
else
|
||||||
PROCS=$lb_procs
|
PROCS=$lb_procs
|
||||||
fi
|
fi
|
||||||
[[ $ZEEKVERSION == "ZEEK" ]] && collect_zeek
|
|
||||||
|
if [[ $is_manager ]]; then
|
||||||
|
[[ $ZEEKVERSION == "ZEEK" ]] && collect_zeek
|
||||||
|
else
|
||||||
|
collect_zeek
|
||||||
|
fi
|
||||||
|
|
||||||
collect_suri
|
collect_suri
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user