Files
Arch-R/packages/sysutils/remote/lirc/init.d/32_lirc
Stephan Raue 71ccc96ca7 lirc:
- move to sysutils/remote
2010-04-28 20:41:48 +02:00

19 lines
396 B
Plaintext
Executable File

# start the LIRC daemon
#
# runlevels: openelec, textmode
[ -f /storage/.config/remote.conf ] && . /storage/.config/remote.conf
if [ "$REMOTE_BACKEND" = "lirc" ]; then
progress "Starting LIRC daemon"
LIRC_DRIVER="default"
LIRC_DEVICE="/dev/lirc0"
LIRC_OUTPUT="/dev/lircd"
$IONICE mkdir -p /var/run/lirc
lircd --driver=$LIRC_DRIVER --device=$LIRC_DEVICE --output=$LIRC_OUTPUT
fi