aboutsummaryrefslogtreecommitdiff
path: root/bin/wd-umount
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2020-04-20 11:21:08 -0400
committerRyan Kavanagh <rak@rak.ac>2020-04-20 11:22:40 -0400
commitf8196c1bcbcfbc9332846dcf8e74d3b07e4edf87 (patch)
tree49c0dbb4de6a4ab6168d5a20a50b98aef2a9728e /bin/wd-umount
parentSet host key for github (diff)
mount/umount tosh & handle lvm vgs
Diffstat (limited to 'bin/wd-umount')
-rwxr-xr-xbin/wd-umount7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/wd-umount b/bin/wd-umount
new file mode 100755
index 0000000..8b1ec47
--- /dev/null
+++ b/bin/wd-umount
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+sudo umount --lazy -f /var/lib/mpd/music
+sudo zpool export -f ztosh
+sudo cryptdisks_stop tosh
+sudo vgchange -an tosh
+sudo vgexport tosh