1 2 3 4 5
#!/bin/sh root=$(findfs UUID=26748575-d7a7-418b-8f68-21be7c937500) || exit cryptsetup open --allow-discards "$root" root || exit pkill cryptsetup