This commit is contained in:
Patrick Schleizer 2023-01-07 16:28:11 -05:00
parent fa579cad89
commit 4fca8f4225
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -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..."