Clear passphrase information before exit.

This commit is contained in:
Suikan 2022-05-08 12:25:24 +09:00
parent 27a64ba066
commit 6722b160cb
3 changed files with 15 additions and 0 deletions

View file

@ -82,8 +82,14 @@ function main() {
post_install
# Free LUKS volume as swap volume.
echo "...Disabling swap to release the LUKS volume."
swapoff -a
# Deleting the passphrase information.
echo "...Deleting passphrase information."
PASSPHRASE=""
export PASSPHRASE
# Normal end
return 0