A bash script to enable or disable TPM2 LUKS unlock for Fedora, made for personal use.
-
Place the script inside the
~/local/bin/directory. Make sure thePATHis in your environmental variables. -
Make it executable:
chmod +x ~/.local/bin/setup-tpm-unlock