diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-06-12 02:56:06 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-06-12 02:56:06 (GMT) |
commit | a40296842ba1e5c9678dc9db7ab689f3c6f92080 (patch) | |
tree | 36e43d556ca6af0a141f3fc5d409da1eb9005654 | |
parent | 18af5a96451393a22877c8b1276631927ebe9ee0 (diff) | |
download | linhes_pkgbuild-a40296842ba1e5c9678dc9db7ab689f3c6f92080.zip linhes_pkgbuild-a40296842ba1e5c9678dc9db7ab689f3c6f92080.tar.gz linhes_pkgbuild-a40296842ba1e5c9678dc9db7ab689f3c6f92080.tar.bz2 |
Check for /dev/raw1394 for easier firewire support.
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run | 6 |
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 |