diff --git a/config/includes.chroot/usr/lib/live/boot/0022-ciss-overlay-tmpfs b/config/includes.chroot/usr/lib/live/boot/0022-ciss-overlay-tmpfs index 92276b9..2909344 100644 --- a/config/includes.chroot/usr/lib/live/boot/0022-ciss-overlay-tmpfs +++ b/config/includes.chroot/usr/lib/live/boot/0022-ciss-overlay-tmpfs @@ -19,20 +19,6 @@ set -eu -### Phase gate: run only in the intended live-boot phase ----------------------------------------------------------------------- -PHASE="${1:-}" - -case "${PHASE}" in - - premount) - exit 0 - ;; ### Continue. - *) - exit 0 ### Do nothing in other phases. - ;; - -esac - printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0022-ciss-overlay-tmpfs.sh] ... \n\e[0m" ### Declare variables ---------------------------------------------------------------------------------------------------------- @@ -56,6 +42,4 @@ mkdir -p -m 0700 "${UPPER}" "${WORK}" printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0022-ciss-overlay-tmpfs.sh] \n\e[0m" -exit 0 - # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh diff --git a/config/includes.chroot/usr/lib/live/boot/0024-ciss-crypt-squash b/config/includes.chroot/usr/lib/live/boot/0024-ciss-crypt-squash index b21997f..0e55591 100644 --- a/config/includes.chroot/usr/lib/live/boot/0024-ciss-crypt-squash +++ b/config/includes.chroot/usr/lib/live/boot/0024-ciss-crypt-squash @@ -19,19 +19,6 @@ set -eu -### Phase gate: run only in the intended live-boot phase ----------------------------------------------------------------------- -PHASE="${1:-}" - -case "${PHASE}" in - - premount) - ;; ### Continue. - *) - exit 0 ### Do nothing in other phases. - ;; - -esac - printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0024-ciss-crypt-squash] ... \n\e[0m" ####################################### @@ -165,6 +152,4 @@ log "Encrypted squashfs is mounted at: [${MNT_ROOTFS}] (device=/dev/mapper/crypt printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0024-ciss-crypt-squash] \n\e[0m" -exit 0 - # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh diff --git a/config/includes.chroot/usr/lib/live/boot/0026-ciss-early-sysctl b/config/includes.chroot/usr/lib/live/boot/0026-ciss-early-sysctl index 1d115c6..51f0841 100644 --- a/config/includes.chroot/usr/lib/live/boot/0026-ciss-early-sysctl +++ b/config/includes.chroot/usr/lib/live/boot/0026-ciss-early-sysctl @@ -19,19 +19,6 @@ set -eu -### Phase gate: run only in the intended live-boot phase ----------------------------------------------------------------------- -PHASE="${1:-}" - -case "${PHASE}" in - - premount) - ;; ### Continue. - *) - exit 0 ### Do nothing in other phases. - ;; - -esac - printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0026-ciss-early-sysctl.sh] ... \n\e[0m" echo 2 > /proc/sys/kernel/yama/ptrace_scope 2>/dev/null || true @@ -45,6 +32,4 @@ echo 2 > /proc/sys/kernel/kptr_restrict 2>/dev/null || true printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0026-ciss-early-sysctl.sh] \n\e[0m" -exit 0 - # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh diff --git a/config/includes.chroot/usr/lib/live/boot/0042-ciss-post-decrypt-attest b/config/includes.chroot/usr/lib/live/boot/0042-ciss-post-decrypt-attest index c13e930..6765ed0 100644 --- a/config/includes.chroot/usr/lib/live/boot/0042-ciss-post-decrypt-attest +++ b/config/includes.chroot/usr/lib/live/boot/0042-ciss-post-decrypt-attest @@ -19,19 +19,6 @@ set -eu -### Phase gate: run only in the intended live-boot phase ----------------------------------------------------------------------- -PHASE="${1:-}" - -case "${PHASE}" in - - bottom) - ;; ### Continue. - *) - exit 0 ### Do nothing in other phases. - ;; - -esac - printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0042-ciss-post-decrypt-attest] ... \n\e[0m" ### Declare variables ---------------------------------------------------------------------------------------------------------- @@ -189,6 +176,4 @@ fi printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0042-ciss-post-decrypt-attest]\n\e[0m" -exit 0 - # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh