summaryrefslogtreecommitdiff
blob: 315da43ecb5d3f11cac041e1e02b9e8abea08a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/openrc-run

description="sundtek TV mediaclient"
#command=/opt/bin/mediasrv
#command_args="-d --pluginpath /opt/bin"

start() {
	ebegin "Starting ${SVCNAME}"
	/opt/bin/mediaclient --start=4
	eend $?
}

stop() {
	ebegin "Stopping ${SVCNAME}"
	/opt/bin/mediaclient --shutdown
	eend $?
}