summaryrefslogtreecommitdiff
path: root/umount_crypt
diff options
context:
space:
mode:
Diffstat (limited to 'umount_crypt')
-rwxr-xr-xumount_crypt8
1 files changed, 8 insertions, 0 deletions
diff --git a/umount_crypt b/umount_crypt
new file mode 100755
index 0000000..54f7cc0
--- /dev/null
+++ b/umount_crypt
@@ -0,0 +1,8 @@
+#!/bin/zsh
+
+. /home/pks/bin/func.zsh
+check_root
+
+umount /mnt
+cryptsetup luksClose /dev/mapper/remote_backup
+