mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
[refactor] Set enabled components in whiptail function
This commit is contained in:
@@ -983,22 +983,6 @@ patch_schedule_os_new() {
|
||||
|
||||
}
|
||||
|
||||
process_components() {
|
||||
CLEAN=${COMPONENTS//\"}
|
||||
GRAFANA=0
|
||||
OSQUERY=0
|
||||
WAZUH=0
|
||||
THEHIVE=0
|
||||
PLAYBOOK=0
|
||||
STRELKA=0
|
||||
|
||||
IFS=$' '
|
||||
for item in $(echo "$CLEAN"); do
|
||||
let $item=1
|
||||
done
|
||||
unset IFS
|
||||
}
|
||||
|
||||
reserve_group_ids() {
|
||||
|
||||
# This is a hack to fix CentOS from taking group IDs that we need
|
||||
|
||||
Reference in New Issue
Block a user