Added remnants from mediacenter-overlay

This commit is contained in:
layman
2020-06-05 13:25:37 +02:00
parent 0397d0b615
commit 45a8543369
8 changed files with 234 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/sbin/openrc-run
depend() {
before tvheadend
}
start() {
ebegin "Starting OSCAM"
start-stop-daemon --start --quiet --background \
--make-pidfile --pidfile /var/run/oscam.pid \
--exec /usr/bin/oscam -- ${OSCAM_OPTS}
eend $?
}
stop() {
ebegin "Stopping OSCAM"
start-stop-daemon --stop --quiet --pidfile /var/run/oscam.pid \
--exec /usr/bin/oscam
eend $?
}