diff options
author | Ryan Kavanagh <rak@rak.ac> | 2020-04-20 11:21:08 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2020-04-20 11:22:40 -0400 |
commit | f8196c1bcbcfbc9332846dcf8e74d3b07e4edf87 (patch) | |
tree | 49c0dbb4de6a4ab6168d5a20a50b98aef2a9728e /bin/wd-mount | |
parent | Set host key for github (diff) |
mount/umount tosh & handle lvm vgs
Diffstat (limited to 'bin/wd-mount')
-rwxr-xr-x | bin/wd-mount | 2 |
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 |