mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-31 12:23:55 +01:00
Cleanup bash imports/sources, function definitions, and variables
This commit is contained in:
@@ -24,9 +24,19 @@ fi
|
||||
|
||||
cd "$(dirname "$0")" || exit 255
|
||||
|
||||
# Source the generic function libraries that are also used by the product after
|
||||
# setup. These functions are intended to be reusable outside of the setup process.
|
||||
source ../salt/common/tools/sbin/so-common
|
||||
source ../salt/common/tools/sbin/so-image-common
|
||||
|
||||
# Setup bash functionality is divided into functions and user-facing prompts.
|
||||
# Do not attempt to re-use any of this functionality outside of setup. Instead,
|
||||
# if needed, migrated generic functions into so-common.
|
||||
source ./so-functions
|
||||
source ./so-common-functions
|
||||
source ./so-whiptail
|
||||
|
||||
# Finally, source the default variable definitions, which require availability of
|
||||
# functions source above.
|
||||
source ./so-variables
|
||||
|
||||
# Parse command line arguments
|
||||
|
||||
Reference in New Issue
Block a user