mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-11 09:30:02 +03:00
:v
This commit is contained in:
parent
f81d510053
commit
f5996ad11a
@ -33,6 +33,9 @@ getarg 0 quiet && quiet=y
|
||||
|
||||
|
||||
tzpfms_load() {
|
||||
set -- "$(zfs get -Ho value encryptionroot "$1")"
|
||||
[ "$1" = "-" ] && return 0
|
||||
|
||||
# Match this sexion to i-t/zfs-patch.sh
|
||||
if command -v zfs-tpm2-load-key > /dev/null && [ -n "$(zfs-tpm-list -Hub TPM2 "$1")" ]; then
|
||||
with_promptable_tty zfs-tpm2-load-key "$1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user