summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/sundtek-tv/files/sundtek.initd')
-rw-r--r--media-tv/sundtek-tv/files/sundtek.initd17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-tv/sundtek-tv/files/sundtek.initd b/media-tv/sundtek-tv/files/sundtek.initd
new file mode 100644
index 00000000..315da43e
--- /dev/null
+++ b/media-tv/sundtek-tv/files/sundtek.initd
@@ -0,0 +1,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 $?
+}