From 6fcbdef5eb1e45028c8fb3edef7f3f2c26845986 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Fri, 28 Feb 2025 17:44:28 -0700 Subject: [PATCH] bootstrap: Remove config option --- usr/local/share/bastille/bootstrap.sh | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/usr/local/share/bastille/bootstrap.sh b/usr/local/share/bastille/bootstrap.sh index 24d06183..ccc4af6d 100644 --- a/usr/local/share/bastille/bootstrap.sh +++ b/usr/local/share/bastille/bootstrap.sh @@ -38,7 +38,6 @@ usage() { cat << EOF Options: - -c | --config Use a customized configuration file to override the default values. -x | --debug Enable debug mode. EOF @@ -425,24 +424,6 @@ while [ "$#" -gt 0 ]; do -h|--help|help) usage ;; - -c|--config) - OPT_CONFIG="${2}" - if [ ! -f "${OPT_CONFIG}" ]; then - if [ ! -f /usr/local/etc/bastille/${OPT_CONFIG} ]; then - error_notify "Not a valid config file: ${OPT_CONFIG}" - usage - else - info "Using custom config: ${OPT_CONFIG}" - # shellcheck disable=SC1090 - . /usr/local/etc/bastille/${OPT_CONFIG} - fi - else - info "Using custom config: ${OPT_CONFIG}" - # shellcheck disable=SC1090 - . "${OPT_CONFIG}" - fi - shift 2 - ;; -x|--debug) enable_debug shift