summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mediaserv/run
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-06-15 05:15:54 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-06-15 05:15:54 (GMT)
commit11d14e8983c0efefedc169bb685f4103f44ebb28 (patch)
tree6aa7f2c3a6162eef45598d347faa2a940c0ccb4c /abs/extra-testing/mediaserv/run
parentb760ec370e5f2265ee619e394d44b7fd8b3e2346 (diff)
downloadlinhes_pkgbuild-11d14e8983c0efefedc169bb685f4103f44ebb28.zip
linhes_pkgbuild-11d14e8983c0efefedc169bb685f4103f44ebb28.tar.gz
linhes_pkgbuild-11d14e8983c0efefedc169bb685f4103f44ebb28.tar.bz2
Added run and finish files for mediaserv.
Diffstat (limited to 'abs/extra-testing/mediaserv/run')
-rw-r--r--abs/extra-testing/mediaserv/run8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/extra-testing/mediaserv/run b/abs/extra-testing/mediaserv/run
new file mode 100644
index 0000000..82a1705
--- /dev/null
+++ b/abs/extra-testing/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"
+wait