Update Hints

This commit is contained in:
Kevin Veen-Birkenbach 2025-02-14 15:48:01 +01:00 committed by GitHub
parent bac3edc404
commit 3f272790d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ create_luks_key_and_update_cryptab(){
sudo dd if=/dev/urandom of="$secret_key_path" bs=512 count=8 &&
info "Opening and closing device to verify that everything works fine..." &&
sudo cryptsetup -v luksClose "$1" || info "No need to luksClose $1." &&
sudo cryptsetup -v luksClose "$1" || info "No need to luksClose $1. Device isn't open." &&
sudo cryptsetup -v luksOpen "$2" "$1" --key-file="$secret_key_path" &&
sudo cryptsetup -v luksClose "$1" &&
info "Reading UUID..." &&