summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/irexec/run
blob: bd6f418c5332da590419f43925999b540ea258a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
exec 2>&1
export TERM=linux
MYTH_RUN_STATUS="1"
. /etc/rc.conf
. /etc/rc.d/functions
. /etc/profile

if [[ -z $(pidof lircd) ]]; then
    stat_runit "No lircd process, can't start irexec"
else
    stat_runit "Starting irexec"
    exec /usr/bin/irexec /etc/lircrc
fi