V8.13.392.2025.11.07
Some checks failed
🛡️ Retrieve DNSSEC status of coresecret.dev. / 🛡️ Retrieve DNSSEC status of coresecret.dev. (push) Successful in 1m5s
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m15s
🔐 Generating a Private Live ISO TRIXIE. / 🔐 Generating a Private Live ISO TRIXIE. (push) Failing after 1m23s
Some checks failed
🛡️ Retrieve DNSSEC status of coresecret.dev. / 🛡️ Retrieve DNSSEC status of coresecret.dev. (push) Successful in 1m5s
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m15s
🔐 Generating a Private Live ISO TRIXIE. / 🔐 Generating a Private Live ISO TRIXIE. (push) Failing after 1m23s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
# SPDX-Security-Contact: security@coresecret.eu
|
||||
# shellcheck disable=SC2155,SC2034
|
||||
|
||||
guard_sourcing
|
||||
guard_sourcing || return "${ERR_GUARD_SRCE}"
|
||||
|
||||
### Definition of MUST set global variables.
|
||||
declare -gr VAR_KERNEL_INF="$(mktemp)"
|
||||
@@ -55,11 +55,26 @@ declare -gx VAR_SIGNING_KEY_PASS=""
|
||||
declare -gx VAR_SIGNING_KEY_PASSFILE=""
|
||||
declare -gx VAR_SIGNING_KEY=""
|
||||
|
||||
### Definition of error codes
|
||||
### Definition of color variables.
|
||||
declare -grx BLA='\e[90m' # Beautiful black for the techno fans.
|
||||
declare -grx RED='\e[91m' # Bright red.
|
||||
declare -grx GRE='\e[92m' # Vibrant green.
|
||||
declare -grx YEL='\e[93m' # Fancy yellow
|
||||
declare -grx BLU='\e[94m' # Organic blue.
|
||||
declare -grx MAG='\e[95m' # Super gay magenta.
|
||||
declare -grx CYA='\e[96m' # Lovely cyan.
|
||||
declare -grx WHI='\e[97m' # Fantastic color mix.
|
||||
declare -grx RES='\e[0m' # Forget everything.
|
||||
declare -grx TAB='\t' # Insert a fresh tabulator.
|
||||
declare -grx NL='\n' # Print a crystal clear new line.
|
||||
|
||||
### Definition of error codes.
|
||||
declare -gir ERR_UNCRITICAL=127
|
||||
declare -gir ERR_NOT_USER_0=128 # Not running as root
|
||||
declare -gir ERR_FLOCK_WRTG=129 # Cannot open lockfile for writing
|
||||
declare -gir ERR_FLOCK_COLL=130 # The Script is already running
|
||||
declare -gir ERR_GUARD_SRCE=131 # Module tried to load twice.
|
||||
declare -gir ERR_GPG__AGENT=132 # GNUPG agent error.
|
||||
declare -gir ERR_SPLASH_PNG=200 # --change-splash MUST be 'club' or 'hexagon'
|
||||
declare -gir ERR_CONTROL_CT=201 # --control MUST be an integer between '1' and '65535'
|
||||
declare -gir ERR_RENICE_PRI=202 # --renice-priority MUST an integer between '-19' and '19'
|
||||
|
||||
Reference in New Issue
Block a user