if [ -n "${LUKS_KEY-}" ]; then
findkey "$nameluks"
readkey "$nameluks" |
cryptsetup -d- luksOpen "$LUKS_ROOT" "$nameluks"
cryptsetup --allow-discards -d- luksOpen "$LUKS_ROOT" "$nameluks"
else
rc=2
while [ "$rc" = 2 ]; do
rc="$?"
done
fi
-