From 4fca8f4225f134316e734d5f85d12b9e39b99b0f Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 7 Jan 2023 16:28:11 -0500 Subject: [PATCH] comment --- .../dracut/modules.d/10ram-wipe-exit/wipe-ram-needshutdown.sh | 2 ++ 1 file changed, 2 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 11f4dbe..93a9028 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 @@ -14,6 +14,8 @@ ram_wipe_check_needshutdown() { if [ "$wipe_action" = "reboot" ]; then info "wipe-ram.sh wiperamexit: reboot..." + ## Why reboot? Why not just continue to boot? + ## To get rid of kernel command line options 'wiperamexit=yes wiperamaction=reboot'? reboot --force elif [ "$wipe_action" = "poweroff" ]; then info "wipe-ram.sh wiperamexit: poweroff..."