aboutsummaryrefslogtreecommitdiffstats
path: root/.config/cs/pre_umount
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2018-03-12 16:39:41 +0100
committerDavid Runge <dave@sleepmap.de>2018-03-12 16:39:41 +0100
commit63577d9f3dbf0d3a8b148114e44577489e445cc8 (patch)
tree1e89b290f7f00584a25087f1e5bd950e50c54634 /.config/cs/pre_umount
parent0e2d2425b3ccc1dd75c03c6922627bf709e165ba (diff)
downloaddotfiles-63577d9f3dbf0d3a8b148114e44577489e445cc8.tar.gz
dotfiles-63577d9f3dbf0d3a8b148114e44577489e445cc8.tar.bz2
dotfiles-63577d9f3dbf0d3a8b148114e44577489e445cc8.tar.xz
dotfiles-63577d9f3dbf0d3a8b148114e44577489e445cc8.zip
.config/cs/pre_umount/media: Adding post_mount and pre_umount scripts for device 'media'.
Diffstat (limited to '.config/cs/pre_umount')
-rwxr-xr-x.config/cs/pre_umount/media5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/cs/pre_umount/media b/.config/cs/pre_umount/media
new file mode 100755
index 0000000..8dd0475
--- /dev/null
+++ b/.config/cs/pre_umount/media
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+sudo umount -v /mnt/{music,photos}