diff options
author | wolfboxpen <98444921+wolfboxpen@users.noreply.github.com> | 2022-12-24 17:20:36 +0000 |
---|---|---|
committer | classabbyamp <5366828+classabbyamp@users.noreply.github.com> | 2023-04-13 22:02:15 -0400 |
commit | 457e38b24337769ab3c1dfb970f1bb9376626c25 (patch) | |
tree | 3baaa7b73accbbc0bd4947df2a074eb00f28c0d9 | |
parent | 08e0e2a87dbc3dffafa05054067cba2697890f26 (diff) | |
download | runit-void-20230413.tar.gz runit-void-20230413.tar.xz runit-void-20230413.zip |
functions: inform user that encrypted volume was successfully closed 20230413
effectively informs user that encryption key(s) have been securely erased prior to potentially rebooting which would leave memory energized
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions index daed329..ec961fc 100644 --- a/functions +++ b/functions @@ -47,7 +47,7 @@ deactivate_crypt() { if [ -x /sbin/dmsetup -o -x /bin/dmsetup ]; then msg "Deactivating Crypt Volumes" for v in $(dmsetup ls --target crypt --exec "dmsetup info -c --noheadings -o open,name"); do - [ ${v%%:*} = "0" ] && cryptsetup close ${v##*:} + [ ${v%%:*} = "0" ] && cryptsetup close ${v##*:} && msg "[crypt] successfully closed: ${v##*:}" done deactivate_vgs "Crypt" fi |