summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/LinHES-session
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/LinHES-system/LinHES-session
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/LinHES-system/LinHES-session')
-rwxr-xr-xabs/core/LinHES-system/LinHES-session7
1 files changed, 6 insertions, 1 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session
index 1eb991e..e181a1a 100755
--- a/abs/core/LinHES-system/LinHES-session
+++ b/abs/core/LinHES-system/LinHES-session
@@ -287,13 +287,18 @@ function first_configure_mv(){
then
if [ -f ~/.configure ]
then
- msg "This is the first time starting MythTV.\nThe MythTV backend process will be stopped for setup."
+ msg "New install of LinHES; starting setup."
#for now skip these
#autocard.py -g &
#MythVantage -b
#0 yes
#1 yes/autodetech
#2 no
+ while [ -e '/var/run/autocard.lock' ]
+ do
+ msg "Waiting for capture card detection to complete"
+ sleep 5
+ done
STATUS=$?
if [ ! $STATUS = 2 ]
then