Cleanup bash imports/sources, function definitions, and variables

This commit is contained in:
Jason Ertel
2020-12-11 15:33:27 -05:00
parent e4eea6a616
commit bb61c1f745
5 changed files with 59 additions and 63 deletions

View File

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