diff options
author | pacien | 2017-09-07 10:02:28 +0200 |
---|---|---|
committer | pacien | 2017-09-07 10:02:28 +0200 |
commit | b592de7e6ca24842c8813fc98fe7daf7ec41a653 (patch) | |
tree | 8db4ac771f21b533471254c981d19f76e81dafab /unmount-data.sh | |
parent | d284fb7a137d69f2a846a2d7e08cd4aaa5233ef8 (diff) | |
download | desktop-utilities-b592de7e6ca24842c8813fc98fe7daf7ec41a653.tar.gz |
Add secondary hard drive LUKS mount/unmount scripts
Diffstat (limited to 'unmount-data.sh')
-rwxr-xr-x | unmount-data.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unmount-data.sh b/unmount-data.sh new file mode 100755 index 0000000..5d3a9b7 --- /dev/null +++ b/unmount-data.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | sudo umount /dev/mapper/DATA--vg-data | ||
4 | sleep 1 | ||
5 | sudo cryptsetup luksClose sda1_crypt | ||