summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/lircd/run
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/lircd/run')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/lircd/run17
1 files changed, 14 insertions, 3 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/lircd/run b/abs/core/runit-scripts/runitscripts/services/lircd/run
index 966b980..b23e348 100755
--- a/abs/core/runit-scripts/runitscripts/services/lircd/run
+++ b/abs/core/runit-scripts/runitscripts/services/lircd/run
@@ -5,7 +5,7 @@ export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
-
+. /usr/MythVantage/bin/install_functions.sh
LOG=/tmp/lirc.log
@@ -14,9 +14,16 @@ then
rm -f $LOG
fi
+
+
+
+
+
+
+
#since what we do may not be enough
#if your one of those people, this is where you place your stuff
-#This means place your lirc stuff in /etc/runit/lirc.sh.
+#This means place your lirc stuff in /etc/runit/lirc.sh.
#Anything in that file will be used and the rest of this file is ignored
if [ -f /etc/runit/lirc.sh ]
@@ -24,12 +31,16 @@ then
#program must not terminate.
stat_runit "Starting lirc"
-
+
/etc/runit/lirc.sh
else
. /etc/systemconfig
stat_runit "Starting lirc"
+
+ in_kernel_support "disable"
+
+
#enable lirc bridge protocol
printhl " lirc: ir-keytable"
/usr/bin/ir-keytable -p lirc > /dev/null 2>/dev/null