diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-02-16 22:21:11 -0500 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-02-16 22:21:11 -0500 |
commit | 7395bc29e6d762619fb5a45f76c7cdf8d92d4689 (patch) | |
tree | a7b035a9e5bafd4907dabf6eda215ee804898d90 /unlock | |
parent | cf0b5d4433b6486c8f76be1a92a00ea5bd936190 (diff) | |
download | minitramfs-7395bc29e6d762619fb5a45f76c7cdf8d92d4689.tar.xz minitramfs-7395bc29e6d762619fb5a45f76c7cdf8d92d4689.zip |
update
Diffstat (limited to 'unlock')
-rw-r--r-- | unlock | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |