diff options
author | Karel Kočí <cynerd@email.cz> | 2018-09-12 00:19:18 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-09-12 00:19:18 +0200 |
commit | a8bfe6abb693150e9ee01ea6e8d672fc074d1f1c (patch) | |
tree | c5e6cc5166c56ad45a396d9af6d4063ad755d9d5 /mpd-music/music.init | |
parent | 4e4d389127254c7404bc71a308129966bd9a8b07 (diff) | |
download | multiconfig-a8bfe6abb693150e9ee01ea6e8d672fc074d1f1c.tar.gz multiconfig-a8bfe6abb693150e9ee01ea6e8d672fc074d1f1c.tar.bz2 multiconfig-a8bfe6abb693150e9ee01ea6e8d672fc074d1f1c.zip |
New multiconfig design
Diffstat (limited to 'mpd-music/music.init')
-rwxr-xr-x | mpd-music/music.init | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/mpd-music/music.init b/mpd-music/music.init deleted file mode 100755 index 4a5c654..0000000 --- a/mpd-music/music.init +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - use logger -} - -mounted() { - mount | grep -q ' /music ' -} - -status() { - mounted -} - -start() { - if mounted; then - einfo "Already mounted" - return - fi - - mkdir -p /music - sshfs -o rw,allow_other root@10.8.2.1:/data/music /music -} - -stop() { - if ! mounted; then - ewarn "Already not mounted" - return - fi - - fusermount -u /music -} |