From 02f44459ad194444122e98a9f743c2725edb4e43 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 7 Jan 2023 17:22:45 -0500 Subject: [PATCH] DRACUT_QUIET=no --- .../dracut/modules.d/10ram-wipe-exit/wipe-ram-needshutdown.sh | 2 ++ usr/lib/dracut/modules.d/10ram-wipe-exit/wipe-ram.sh | 2 ++ .../40cold-boot-attack-defense/wipe-ram-needshutdown.sh | 2 ++ usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram.sh | 2 ++ 4 files changed, 8 insertions(+) diff --git a/usr/lib/dracut/modules.d/10ram-wipe-exit/wipe-ram-needshutdown.sh b/usr/lib/dracut/modules.d/10ram-wipe-exit/wipe-ram-needshutdown.sh index 61c47e4..900f24d 100755 --- a/usr/lib/dracut/modules.d/10ram-wipe-exit/wipe-ram-needshutdown.sh +++ b/usr/lib/dracut/modules.d/10ram-wipe-exit/wipe-ram-needshutdown.sh @@ -4,6 +4,8 @@ ## Copyright (C) 2023 - 2023 Friedrich Doku ## See the file COPYING for copying conditions. +DRACUT_QUIET=no + ram_wipe_check_needshutdown() { local wipe_action wipe_action=$(getarg wiperamaction) diff --git a/usr/lib/dracut/modules.d/10ram-wipe-exit/wipe-ram.sh b/usr/lib/dracut/modules.d/10ram-wipe-exit/wipe-ram.sh index 14e01e1..988ed85 100755 --- a/usr/lib/dracut/modules.d/10ram-wipe-exit/wipe-ram.sh +++ b/usr/lib/dracut/modules.d/10ram-wipe-exit/wipe-ram.sh @@ -6,6 +6,8 @@ ## TODO: rename to wipe-ram-exit.sh (so it is different from wipe-ram.sh) +DRACUT_QUIET=no + ram_wipe_action() { local kernel_wiperam_exit kernel_wiperam_exit=$(getarg wiperamexit) diff --git a/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh b/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh index 8a6e001..4cf9562 100755 --- a/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh +++ b/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh @@ -6,6 +6,8 @@ type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh +DRACUT_QUIET=no + ram_wipe_check_needshutdown() { local kernel_wiperam_setting kernel_wiperam_setting=$(getarg wiperam) diff --git a/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram.sh b/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram.sh index ef0ac06..4744c95 100755 --- a/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram.sh +++ b/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram.sh @@ -8,6 +8,8 @@ ## First version by @friedy10. ## https://github.com/friedy10/dracut/blob/master/modules.d/40sdmem/wipe.sh +DRACUT_QUIET=no + drop_caches() { sync ## https://gitlab.tails.boum.org/tails/tails/-/blob/master/config/chroot_local-includes/usr/local/lib/initramfs-pre-shutdown-hook