V8.13.048.2025.10.06
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m24s
🔐 Generating a Private Live ISO TRIXIE. / 🔐 Generating a Private Live ISO TRIXIE. (push) Successful in 51m2s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-07 00:08:40 +01:00
parent 1d711ea816
commit 7f678baa64
15 changed files with 249 additions and 55 deletions

View File

@@ -18,7 +18,9 @@ guard_sourcing
# PID_BOOT_SCREEN
# PIPE_BOOT_SCREEN
# Arguments:
# None
# None
# Returns:
# 0: on success
#######################################
boot_screen() {
clear
@@ -34,15 +36,22 @@ boot_screen() {
< "${PIPE_BOOT_SCREEN}" &
declare -gr PID_BOOT_SCREEN="$!"
exec 3> "${PIPE_BOOT_SCREEN}"
return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f boot_screen
#######################################
# Boot Screen Terminal Cleaner
# Globals:
# boot_screen_pid
# boot_screen_pipe
# PID_BOOT_SCREEN
# PIPE_BOOT_SCREEN
# Arguments:
# None
# None
# Returns:
# 0: on success
#######################################
boot_screen_cleaner() {
exec 3>&-
@@ -51,5 +60,9 @@ boot_screen_cleaner() {
rm -f "${PIPE_BOOT_SCREEN}"
clean_screen
sleep 1
return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f boot_screen_cleaner
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh