aboutsummaryrefslogtreecommitdiff
path: root/bin/executable_wd-mount
diff options
context:
space:
mode:
Diffstat (limited to 'bin/executable_wd-mount')
-rw-r--r--bin/executable_wd-mount21
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/executable_wd-mount b/bin/executable_wd-mount
deleted file mode 100644
index b8f8a45..0000000
--- a/bin/executable_wd-mount
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-case `uname` in
- OpenBSD)
- doas bioctl -c C -l fe3fd8d53b06049b.a softraid0
- doas mount /media/wd
- ;;
- Linux)
- if ! zpool list wd-pass > /dev/null 2>&1 ; then
- sudo zpool import -l wd-pass
- sudo mount /var/lib/mpd/playlists
- sudo mount /var/lib/mpd/music
- sudo systemctl start var-lib-mpd-music.mount --now
- fi
- ;;
- *)
- echo "Unknown host"
- exit 1
-esac
-
-# vim: set sw=4: