V8.02.644.2025.05.31
All checks were successful
Retrieve the DNSSEC status at the time of updating the repository. / build-dnssec-diagram (push) Successful in 30s
All checks were successful
Retrieve the DNSSEC status at the time of updating the repository. / build-dnssec-diagram (push) Successful in 30s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -13,15 +13,15 @@
|
||||
#######################################
|
||||
# Change Grub Boot Screen Splash
|
||||
# Globals:
|
||||
# boot_screen_pid
|
||||
# boot_screen_pipe
|
||||
# PID_BOOT_SCREEN
|
||||
# PIPE_BOOT_SCREEN
|
||||
# Arguments:
|
||||
# None
|
||||
#######################################
|
||||
boot_screen() {
|
||||
clear
|
||||
declare -gr boot_screen_pipe="/tmp/progress.fifo"
|
||||
[[ -p "${boot_screen_pipe}" ]] || mkfifo "${boot_screen_pipe}"
|
||||
declare -gr PIPE_BOOT_SCREEN="/tmp/progress.fifo"
|
||||
[[ -p "${PIPE_BOOT_SCREEN}" ]] || mkfifo "${PIPE_BOOT_SCREEN}"
|
||||
|
||||
setsid dialog --no-collapse \
|
||||
--ascii-lines \
|
||||
@@ -29,9 +29,9 @@ boot_screen() {
|
||||
--title "CISS.debian.live.builder" \
|
||||
--gauge "Starting initialization..." \
|
||||
10 70 0 \
|
||||
< "${boot_screen_pipe}" &
|
||||
declare -gr boot_screen_pid="$!"
|
||||
exec 3> "${boot_screen_pipe}"
|
||||
< "${PIPE_BOOT_SCREEN}" &
|
||||
declare -gr PID_BOOT_SCREEN="$!"
|
||||
exec 3> "${PIPE_BOOT_SCREEN}"
|
||||
}
|
||||
|
||||
#######################################
|
||||
@@ -44,9 +44,9 @@ boot_screen() {
|
||||
#######################################
|
||||
boot_screen_cleaner() {
|
||||
exec 3>&-
|
||||
kill -TERM -- -"${boot_screen_pid}" 2>/dev/null || true
|
||||
wait "${boot_screen_pid}" 2>/dev/null || true
|
||||
rm -f "${boot_screen_pipe}"
|
||||
kill -TERM -- -"${PID_BOOT_SCREEN}" 2>/dev/null || true
|
||||
wait "${PID_BOOT_SCREEN}" 2>/dev/null || true
|
||||
rm -f "${PIPE_BOOT_SCREEN}"
|
||||
clean_screen
|
||||
sleep 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user