diff --git a/zlevis.sh b/zlevis.sh index b7afa37..f2cebab 100755 --- a/zlevis.sh +++ b/zlevis.sh @@ -11,11 +11,11 @@ local _root_pool="${_root_vol%%/*}" # Import the root pool zpool import -N -d /dev $_root_pool -# If the pool is encrypted run zlevis-fetch to decrypt using the tpm2 +# If the pool is encrypted run `zlevis decrypt` to decrypt using the tpm2 if [ $(zpool list -H -o feature@encryption $_root_pool) = "active" ]; then local _encryption_root=$(zfs get -H -o value encryptionroot $_root_vol) if [ "$_encryption_root" != "-" ]; then - zlevis decrypt $_root_pool || echo "Zlevis-fetch failed!" + zlevis decrypt $_root_pool || echo "zlevis decryption failed!" fi fi