do not power off too fast so wipe ram messages can be read

This commit is contained in:
Patrick Schleizer 2022-06-29 15:22:00 -04:00
parent 19439033de
commit 9ab81d4581
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -21,6 +21,7 @@ $0: There are still mounted encrypted disks! RAM wipe failed!
debugging information:
dmsetup_expected_output: '$dmsetup_expected_output'
dmsetup_actual_output: '$dmsetup_actual_output'"
sleep 10
return 0
fi
@ -30,7 +31,8 @@ dmsetup_actual_output: '$dmsetup_actual_output'"
sdmem -l -l -f
info "$0: RAM wipe completed, OK."
info "$0: END COLD BOOT ATTACK DEFENSE - RAM WIPE ON SHUTDOWN"
info "$0: END: COLD BOOT ATTACK DEFENSE - RAM WIPE ON SHUTDOWN"
sleep 3
}
ram_wipe