From 7395bc29e6d762619fb5a45f76c7cdf8d92d4689 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Sun, 16 Feb 2020 22:21:11 -0500 Subject: update --- unlock | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'unlock') diff --git a/unlock b/unlock index d034674..50d282b 100644 --- a/unlock +++ b/unlock @@ -1,3 +1,5 @@ #!/bin/sh -cryptsetup open /dev/nvme0n1p2 root && pkill cryptsetup +root=$(findfs UUID=26748575-d7a7-418b-8f68-21be7c937500) || exit +cryptsetup open --allow-discards "$root" root || exit +pkill cryptsetup -- cgit v1.2.3-70-g09d2