1 2 3 4 5
#!/bin/sh root=$(findfs UUID=ec8fb072-1200-4275-9494-f6f869187806) || exit cryptsetup open --allow-discards "$root" root || exit pkill cryptsetup