#!/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