aboutsummaryrefslogtreecommitdiff
path: root/bin/wd-mount
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbin/wd-mount2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/wd-mount b/bin/wd-mount
index b5bb834..8a8ee3f 100755
--- a/bin/wd-mount
+++ b/bin/wd-mount
@@ -5,6 +5,8 @@ if ! mount | grep -w /media/t > /dev/null ; then
sudo cryptdisks_start tosh && \
sudo zpool import ztosh && \
sudo mount /var/lib/mpd/music
+ sudo vgimport tosh
+ sudo vgchange -ay tosh
fi
fi