aboutsummaryrefslogtreecommitdiff
path: root/bin/wd-mount
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-09-21 12:05:47 -0400
committerRyan Kavanagh <rak@debian.org>2018-09-21 12:05:47 -0400
commit940458ff2205323a573e6e31497e1e314db5398b (patch)
tree7639a59ece07216cc8781cf5b470939c144b7d9d /bin/wd-mount
parentupdate savehooks and aliases (diff)
wd is dead, update scripts to use tosh instead
Diffstat (limited to '')
-rwxr-xr-xbin/wd-mount8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/wd-mount b/bin/wd-mount
index 3b1312c..b5bb834 100755
--- a/bin/wd-mount
+++ b/bin/wd-mount
@@ -1,8 +1,10 @@
#!/bin/sh
-if ! mount | grep -w /media/wd > /dev/null ; then
- if [ -e /dev/disk/by-uuid/71bc8a1f-1942-4341-8ce1-8f8f3bf42d1a ]; then
- sudo cryptdisks_start wd && mount /dev/mapper/wd
+if ! mount | grep -w /media/t > /dev/null ; then
+ if [ -e /dev/disk/by-uuid/0c5bcd92-bf08-4a21-a117-0ba9c0c31862 ]; then
+ sudo cryptdisks_start tosh && \
+ sudo zpool import ztosh && \
+ sudo mount /var/lib/mpd/music
fi
fi