This commit is contained in:
Patrick Schleizer 2023-01-07 14:29:12 -05:00
parent 53ab93d8f6
commit e83ba18553
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -11,13 +11,13 @@ ram_wipe_action() {
kernel_wiperam_exit=$(getarg wiperamexit) kernel_wiperam_exit=$(getarg wiperamexit)
if [ "$kernel_wiperam_exit" = "no" ]; then if [ "$kernel_wiperam_exit" = "no" ]; then
info "wipe-ram.sh wiperamexit: Skip, because wiperamexit=no kernel parameter detected, OK." info "wipe-ram.sh wiperamexit: Skip, because wiperamexit=no kernel parameter detected, OK."
return 0 return 0
fi fi
if [ "$kernel_wiperam_exit" != "yes" ]; then if [ "$kernel_wiperam_exit" != "yes" ]; then
info "wipe-ram.sh wiperamexit: Skip, because wiperamexit parameter is unset." info "wipe-ram.sh wiperamexit: Skip, because wiperamexit parameter is unset."
return 0 return 0
fi fi
info "wipe-ram.sh wiperamexit: wiperamexit=yes, therefore running second RAM wipe..." info "wipe-ram.sh wiperamexit: wiperamexit=yes, therefore running second RAM wipe..."