From f8196c1bcbcfbc9332846dcf8e74d3b07e4edf87 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 20 Apr 2020 11:21:08 -0400 Subject: mount/umount tosh & handle lvm vgs --- bin/wd-mount | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/wd-mount') 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 -- cgit v1.2.3