aboutsummaryrefslogtreecommitdiff
path: root/bin/executable_wd-umount
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-13 17:23:42 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-13 17:23:42 -0500
commite1096db47d332f2e4bfb4f38d262bb94e69d9ad5 (patch)
tree1b26b1fedacd307a115cb3a963c8cc8a60a18e96 /bin/executable_wd-umount
parenttypo (diff)
set exec and stuff
Diffstat (limited to 'bin/executable_wd-umount')
-rwxr-xr-xbin/executable_wd-umount7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/executable_wd-umount b/bin/executable_wd-umount
new file mode 100755
index 0000000..8b1ec47
--- /dev/null
+++ b/bin/executable_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