This commit is contained in:
Patrick Schleizer 2023-01-07 16:34:04 -05:00
parent 996c6af2d8
commit e0ded5e69d
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -16,6 +16,9 @@ ram_wipe_check_needshutdown() {
info "wipe-ram.sh wiperamexit: reboot..." info "wipe-ram.sh wiperamexit: reboot..."
## Why reboot? Why not just continue to boot? ## Why reboot? Why not just continue to boot?
## To get rid of kernel command line options 'wiperamexit=yes wiperamaction=reboot'? ## To get rid of kernel command line options 'wiperamexit=yes wiperamaction=reboot'?
## Also RAM wipe using sdmem leads to an OOM and the following error:
## [FAILED] Failed to start dracut pre-udev hook.
## In other words, the system might not boot up cleanly.
reboot --force reboot --force
elif [ "$wipe_action" = "poweroff" ]; then elif [ "$wipe_action" = "poweroff" ]; then
info "wipe-ram.sh wiperamexit: poweroff..." info "wipe-ram.sh wiperamexit: poweroff..."