summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-06-12 02:56:06 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-06-12 02:56:06 (GMT)
commita40296842ba1e5c9678dc9db7ab689f3c6f92080 (patch)
tree36e43d556ca6af0a141f3fc5d409da1eb9005654 /abs/core-testing/runit-scripts
parent18af5a96451393a22877c8b1276631927ebe9ee0 (diff)
downloadlinhes_pkgbuild-a40296842ba1e5c9678dc9db7ab689f3c6f92080.zip
linhes_pkgbuild-a40296842ba1e5c9678dc9db7ab689f3c6f92080.tar.gz
linhes_pkgbuild-a40296842ba1e5c9678dc9db7ab689f3c6f92080.tar.bz2
Check for /dev/raw1394 for easier firewire support.
Diffstat (limited to 'abs/core-testing/runit-scripts')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/mythbackend/run6
1 files changed, 6 insertions, 0 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run b/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run
index 48c68d3..0082c88 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run
+++ b/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run
@@ -27,5 +27,11 @@ mkfifo /tmp/mbefifo >/dev/null 2>/dev/null
# sleep 10
#
# else
+if [ -e /dev/raw1394 ]
+then
+ exec su mythtv -c "/usr/bin/plugctl -n 0 "oPCR[0].n_p2p_connections=1""
+else
+ echo "No firewire detected"
+fi
exec su mythtv -c "/usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log"
# fi