V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m45s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m45s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -476,6 +476,9 @@ if [[ "${VAR_RECOVERY}" == "true" ]]; then
|
|||||||
info_echo "5132_installation_machineid.sh"
|
info_echo "5132_installation_machineid.sh"
|
||||||
installation_machineid_reco
|
installation_machineid_reco
|
||||||
|
|
||||||
|
info_echo "5133_installation_masking.sh"
|
||||||
|
installation_masking_reco
|
||||||
|
|
||||||
info_echo "5999_exiting_chroot_recovery.sh"
|
info_echo "5999_exiting_chroot_recovery.sh"
|
||||||
exiting_chroot_recovery
|
exiting_chroot_recovery
|
||||||
|
|
||||||
|
|||||||
@@ -15,24 +15,24 @@ guard_sourcing
|
|||||||
#######################################
|
#######################################
|
||||||
# Turn off Energy saving mode and ctrl-alt-del.
|
# Turn off Energy saving mode and ctrl-alt-del.
|
||||||
# Globals:
|
# Globals:
|
||||||
# TARGET
|
# RECOVERY
|
||||||
# Arguments:
|
# Arguments:
|
||||||
# None
|
# None
|
||||||
# Returns:
|
# Returns:
|
||||||
# 0: on success
|
# 0: on success
|
||||||
#######################################
|
#######################################
|
||||||
installation_masking() {
|
installation_masking_reco() {
|
||||||
chroot_script "${TARGET}" "
|
chroot_script "${RECOVERY}" "
|
||||||
systemctl mask ctrl-alt-del.target sleep.target suspend.target hibernate.target hybrid-sleep.target
|
systemctl mask ctrl-alt-del.target sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||||
"
|
"
|
||||||
|
|
||||||
do_log "info" "file_only" "4133() Masked: [ctrl-alt-del.target sleep.target suspend.target hibernate.target hybrid-sleep.target]"
|
do_log "info" "file_only" "5133() Masked: [ctrl-alt-del.target sleep.target suspend.target hibernate.target hybrid-sleep.target]"
|
||||||
|
|
||||||
chroot_script "${TARGET}" "
|
chroot_script "${RECOVERY}" "
|
||||||
systemctl mask plymouth-start.service plymouth-quit.service plymouth-quit-wait.service plymouth-read-write.service
|
systemctl mask plymouth-start.service plymouth-quit.service plymouth-quit-wait.service plymouth-read-write.service
|
||||||
"
|
"
|
||||||
|
|
||||||
do_log "info" "file_only" "4133() Masked: [plymouth-start.service plymouth-quit.service plymouth-quit-wait.service plymouth-read-write.service]"
|
do_log "info" "file_only" "5133() Masked: [plymouth-start.service plymouth-quit.service plymouth-quit-wait.service plymouth-read-write.service]"
|
||||||
|
|
||||||
guard_dir && return 0
|
guard_dir && return 0
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -127,6 +127,7 @@ source_guard "./func/cdi_5000_recovery/5121_installation_initramfs.sh"
|
|||||||
source_guard "./func/cdi_5000_recovery/5130_installation_toolset.sh"
|
source_guard "./func/cdi_5000_recovery/5130_installation_toolset.sh"
|
||||||
source_guard "./func/cdi_5000_recovery/5131_installation_systemd.sh"
|
source_guard "./func/cdi_5000_recovery/5131_installation_systemd.sh"
|
||||||
source_guard "./func/cdi_5000_recovery/5132_installation_machineid.sh"
|
source_guard "./func/cdi_5000_recovery/5132_installation_machineid.sh"
|
||||||
|
source_guard "./func/cdi_5000_recovery/5133_installation_masking.sh"
|
||||||
source_guard "./func/cdi_5000_recovery/5999_exiting_chroot_recovery.sh"
|
source_guard "./func/cdi_5000_recovery/5999_exiting_chroot_recovery.sh"
|
||||||
|
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
|
|||||||
Reference in New Issue
Block a user