summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/irexec/run
blob: 01b775a55950cdda0811dc6006aa0727e28b75db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
exec 2>&1
export TERM=linux

. /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