#!/bin/sh exec 2>&1 . /etc/rc.conf . /etc/rc.d/functions 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