1 |
commit: 9c385d46cb391b8f45179a87a75027fdb6d39d7b |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Dec 28 16:10:11 2016 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 28 16:48:04 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c385d46 |
7 |
|
8 |
media-sound/scmpc: remove unused init file |
9 |
|
10 |
media-sound/scmpc/files/scmpc.init | 31 ------------------------------- |
11 |
1 file changed, 31 deletions(-) |
12 |
|
13 |
diff --git a/media-sound/scmpc/files/scmpc.init b/media-sound/scmpc/files/scmpc.init |
14 |
deleted file mode 100644 |
15 |
index 63ffd3e..00000000 |
16 |
--- a/media-sound/scmpc/files/scmpc.init |
17 |
+++ /dev/null |
18 |
@@ -1,31 +0,0 @@ |
19 |
-#!/sbin/openrc-run |
20 |
-# Copyright 1999-2007 Gentoo Foundation |
21 |
-# Distributed under the terms of the GNU General Public License v2 |
22 |
- |
23 |
-depend() { |
24 |
- need net |
25 |
- use mpd |
26 |
-} |
27 |
- |
28 |
-checkconfig() { |
29 |
- if ! [ -f /etc/scmpc.conf ]; then |
30 |
- eerror "Configuration file /etc/scmpc.conf does not exist." |
31 |
- return 1 |
32 |
- fi |
33 |
- |
34 |
- return 0 |
35 |
-} |
36 |
- |
37 |
-start () { |
38 |
- checkconfig || return 1 |
39 |
- |
40 |
- ebegin "Starting scmpc" |
41 |
- start-stop-daemon --start --exec /usr/bin/scmpc |
42 |
- eend $? |
43 |
-} |
44 |
- |
45 |
-stop () { |
46 |
- ebegin "Stopping scmpc" |
47 |
- start-stop-daemon --stop --exec /usr/bin/scmpc || eerror "scmpc is not running" |
48 |
- eend $? |
49 |
-} |