mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Clear passphrase information before exit.
This commit is contained in:
parent
27a64ba066
commit
6722b160cb
3 changed files with 15 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue