summaryrefslogtreecommitdiffstats
path: root/abs/core/runit/runitscripts/services/evrouter
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/runit/runitscripts/services/evrouter')
-rwxr-xr-xabs/core/runit/runitscripts/services/evrouter/finish4
-rwxr-xr-xabs/core/runit/runitscripts/services/evrouter/run5
2 files changed, 9 insertions, 0 deletions
diff --git a/abs/core/runit/runitscripts/services/evrouter/finish b/abs/core/runit/runitscripts/services/evrouter/finish
new file mode 100755
index 0000000..0dd33de
--- /dev/null
+++ b/abs/core/runit/runitscripts/services/evrouter/finish
@@ -0,0 +1,4 @@
+#!/bin/bash
+. /etc/profile
+DISPLAY=localhost:50 evrouter -q
+rm -rf /tmp/.evrouter*
diff --git a/abs/core/runit/runitscripts/services/evrouter/run b/abs/core/runit/runitscripts/services/evrouter/run
new file mode 100755
index 0000000..1d7389a
--- /dev/null
+++ b/abs/core/runit/runitscripts/services/evrouter/run
@@ -0,0 +1,5 @@
+#!/bin/bash
+. /etc/profile
+sv start Xvfb
+su mythtv -c "DISPLAY=localhost:50 evrouter -c /etc/evrouter.cfg -f /dev/input/event*"
+