[refactor] Set enabled components in whiptail function

This commit is contained in:
William Wernert committed 2020-04-18 18:26:27 -04:00
1 parent 6ca5827ce6
commit 043f2df7e3
3 files changed
+20 -19

No files matched your search

-2
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