summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-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