sed command for /etc/crypttab doesn't work
The install.sh script tries to replace a line, which doesn't exist:
sed -i "s/none luks,discard/[UUID] luks,discard,keyscript=\/bin\/luksunlockusb/g" /etc/crypttab
I am using MX Linux 23.3 (AHS) and the term "none luks,discard" doesn't exist, because it looks like this:
luks,no-read-workqueue,no-write-workqueue,discard
And the script doesn't fail.
This is a feature request for MX Linux support. I didn't test on anything else than Debian, Ubuntu and Mint. Maybe this should be added to the readme.
The workqueues have a negative impact in write heavy situations and disabling might be good, see:
https://www.reddit.com/r/linux/comments/zkyzmh/if_your_system_is_installed_on_dmcrypt_and/