repo.or.cz
/
mpd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
scmpc: Sync with gentoo-x86
[mpd.git]
/
media-sound
/
scmpc
/
files
/
scmpc.init
blob
dc93043da888cc658ba9555dc4b2dbf190802e1a
1
#!/sbin/runscript
2
# Copyright 1999-2011 Gentoo Foundation
3
# Distributed under the terms of the GNU General Public License v2
4
# $Header: $
5
6
depend() {
7
use net mpd
8
}
9
10
start() {
11
ebegin "Starting scmpc"
12
/usr/bin/scmpc -f /etc/scmpc.conf
13
eend $?
14
}
15
16
stop() {
17
ebegin "Stopping scmpc"
18
/usr/bin/scmpc -k
19
eend $?
20
}