#!/bin/sh # # start the LIRC daemon # # runlevels: openelec, text, debug . /etc/sysconfig progress "Starting LIRC daemon" # insert needed modules IFS='|' for module in $LIRC_MODULES; do eval "modprobe $module" >/dev/null 2>&1 done # start lircd mkdir -p /var/run/lirc lircd --driver=$LIRC_DRIVER --device=$LIRC_DEVICE --output=$LIRC_OUTPUT & exit 0