From 577b7d16dde2475b914697cfe8cbb4950e7b788a225c04ca2d26ee915c461374 Mon Sep 17 00:00:00 2001 From: "Marc S. Weidner" Date: Thu, 19 Jun 2025 16:03:45 +0200 Subject: [PATCH] V8.03.768.2025.06.19 Signed-off-by: Marc S. Weidner --- ciss_live_builder.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ciss_live_builder.sh b/ciss_live_builder.sh index ac54857..ad8ce7f 100644 --- a/ciss_live_builder.sh +++ b/ciss_live_builder.sh @@ -43,13 +43,13 @@ declare -gx VAR_CONTACT="security@coresecret.eu" declare -gx VAR_VERSION="Master V8.03.768.2025.06.19" -### VERY EARLY CHECK FOR CONTACT, HELP, AND VERSION STRING +### CHECK FOR CONTACT, HELP, AND VERSION STRING for arg in "$@"; do case "${arg,,}" in -c|--contact) . ./lib/lib_contact.sh; contact; exit 0;; esac; done for arg in "$@"; do case "${arg,,}" in -h|--help) . ./lib/lib_usage.sh; usage; exit 0;; esac; done for arg in "$@"; do case "${arg,,}" in -v|--version) printf "\e[95mCISS.debian.live.builder Version: %s\e[0m\n" "${VAR_VERSION}"; exit 0;; esac; done declare -gx VAR_SETUP="true" -### VERY EARLY CHECK FOR XTRACE DEBUGGING +### CHECK FOR XTRACE DEBUG if [[ $* == *" --debug "* ]]; then . ./lib/lib_debug.sh . ./lib/lib_debug_header.sh @@ -108,7 +108,7 @@ if ! flock -x -n 127; then exit "${ERR_FLOCK_COLL}" fi -### VERY EARLY CHECK FOR AUTOBUILD MODE +### CHECK FOR AUTOBUILD MODE declare -gx VAR_HANDLER_AUTOBUILD="false" for arg in "$@"; do case "${arg,,}" in -a=*|--autobuild=*) declare -gx VAR_HANDLER_AUTOBUILD="true"; declare -gx VAR_KERNEL="${arg#*=}";; esac; done unset arg @@ -138,7 +138,7 @@ declare -grx VAR_WORKDIR="$(dirname "${SCRIPT_FULLPATH}")" ### Updating Status of Dialog Gauge Bar if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nActivate traps ... \nXXX\n50\n" >&3; fi -### Following the CISS Bash naming and ordering scheme +### Following the CISS Bash naming and ordering scheme: trap 'trap_on_exit "$?"' EXIT trap 'trap_on_err "$?" "${BASH_SOURCE[0]}" "${LINENO}" "${FUNCNAME[0]:-main}" "${BASH_COMMAND}"' ERR @@ -159,6 +159,7 @@ clean_ip ### Updating Status of Dialog Gauge Bar if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nInitialization completed ... \nXXX\n100\n" >&3; sleep 1; fi +### Turn off Dialog Wrapper if ! $VAR_HANDLER_AUTOBUILD; then boot_screen_cleaner; fi ### MAIN Program