diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-11-13 20:29:58 -0500 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-11-13 20:29:58 -0500 |
commit | bde1d90ae348d5459168d74790f2c34a073b7962 (patch) | |
tree | dbd96f73154437e905c3a573c15004ca4b13077f | |
parent | 84708262e532e05f422b5f7522c4719e261a31ff (diff) | |
download | minitramfs-bde1d90ae348d5459168d74790f2c34a073b7962.tar.xz minitramfs-bde1d90ae348d5459168d74790f2c34a073b7962.zip |
jam unlock into one line
-rw-r--r-- | unlock | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,3 @@ #!/bin/sh -root=$(findfs UUID=ec8fb072-1200-4275-9494-f6f869187806) || exit -cryptsetup open --allow-discards "$root" root || exit -pkill cryptsetup +root=$(findfs UUID=ec8fb072-1200-4275-9494-f6f869187806) && cryptsetup open --allow-discards "$root" root && pkill cryptsetup |