mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-20 12:49:56 +07:00
output
This commit is contained in:
@ -9,16 +9,16 @@ ram_wipe_action() {
|
||||
kernel_wiperam_exit=$(getarg wiperamexit)
|
||||
|
||||
if [ "$kernel_wiperam_exit" = "no" ]; then
|
||||
info "Skip, because wiperamexit=no kernel parameter detected, OK."
|
||||
info "wipe-ram.sh wiperamexit: Skip, because wiperamexit=no kernel parameter detected, OK."
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ "$kernel_wiperam_exit" != "yes" ]; then
|
||||
info "Skip, because wiperamexit parameter is unset."
|
||||
info "wipe-ram.sh wiperamexit: Skip, because wiperamexit parameter is unset."
|
||||
return 0
|
||||
fi
|
||||
|
||||
info "wiperamexit=yes, therefore running second RAM wipe..."
|
||||
info "wipe-ram.sh wiperamexit: wiperamexit=yes, therefore running second RAM wipe..."
|
||||
|
||||
sdmem -l -l -v
|
||||
}
|
||||
|
Reference in New Issue
Block a user