summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/mediaserv/run
diff options
context:
space:
mode:
Diffstat (limited to 'abs/not_built/extra/mediaserv/run')
-rw-r--r--abs/not_built/extra/mediaserv/run8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/not_built/extra/mediaserv/run b/abs/not_built/extra/mediaserv/run
new file mode 100644
index 0000000..fbd1c97
--- /dev/null
+++ b/abs/not_built/extra/mediaserv/run
@@ -0,0 +1,8 @@
+#!/bin/bash
+exec 2>&1
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting mediaserv"
+exec su mythtv -c "/usr/bin/mediaserv" 2>/dev/null
+wait