[refactor] Set enabled components in whiptail function

This commit is contained in:
William Wernert
2020-04-18 18:26:27 -04:00
parent 6ca5827ce6
commit 043f2df7e3
3 changed files with 20 additions and 19 deletions

View File

@@ -279,7 +279,6 @@ if (whiptail_you_sure) ; then
# Find out how to handle updates
whiptail_master_updates
whiptail_enable_components
process_components
# Do Advacned Setup if they chose it
if [ "$MASTERADV" == 'ADVANCED' ]; then
@@ -561,7 +560,6 @@ if (whiptail_you_sure) ; then
NIDS=Suricata
BROVERSION=ZEEK
CURCLOSEDAYS=30
process_components
if [ $INSTALLTYPE == 'MASTERSEARCH' ]; then
# Find out how to handle updates
whiptail_master_updates