blob: b8f8a45a87df4ecaf86a1390f5b1c324db5eb214 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/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:
|