summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2013-01-09 22:44:26 (GMT)
committerJames Meyer <james.meyer@operamail.com>2013-01-09 22:44:26 (GMT)
commit19558d2bbdf4b31e21c7707c86a077d62ab26d3c (patch)
tree131a68dddc1e9fa7c25ab80e5793535816daa6d3 /abs/core/runit-scripts
parent3177bc9e67077cdaa2769cf44a8d539528ca4a3f (diff)
downloadlinhes_pkgbuild-19558d2bbdf4b31e21c7707c86a077d62ab26d3c.zip
linhes_pkgbuild-19558d2bbdf4b31e21c7707c86a077d62ab26d3c.tar.gz
linhes_pkgbuild-19558d2bbdf4b31e21c7707c86a077d62ab26d3c.tar.bz2
LinHES-system, runit-scripts, mythdb-initial: autocard.py will run when mythbackend starts if /etc/udev/mv-persistent-video.description is not present.
LinHES-system: wait for autocard to finish before stopping the be mythdb-initial: add a dummy tuner, so that myth backend will start. This get around the chicken/egg problem of needing tuners defined before MBE can start. However to add tuners via the API mythbe must be started. refs #892
Diffstat (limited to 'abs/core/runit-scripts')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mythbackend/run11
2 files changed, 12 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index dc75fa8..36c9ddd 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=2.1.1
-pkgrel=105
+pkgrel=107
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
index 7bcf0a1..903979c 100755
--- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run
+++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
@@ -5,6 +5,12 @@ export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
+#Run autocard
+if [ ! -e /etc/udev/mv-persistent-video.description ]
+then
+ /usr/MythVantage/bin/autocard.py insertdb >/tmp/autocard.log &
+fi
+
#wait for mysql
if [ -e /service/mysql ]
then
@@ -39,6 +45,11 @@ then
fi
+
+
+
+
+
export HOME=/root
# if [ -f /tmp/debug ]
# then