Files
Arch-R/packages/sysutils/lirc/init.d/32_lirc
Stephan Raue c63b37d59f lirc:
- some cleanups and cosmetics to the init script
2010-04-05 14:43:58 +02:00

19 lines
307 B
Plaintext
Executable File

# start the LIRC daemon
#
# runlevels: openelec, textmode
LIRC_DRIVER="default"
LIRC_DEVICE="/dev/lirc0"
LIRC_OUTPUT="/dev/lircd"
(
progress "Starting LIRC daemon"
$IONICE mkdir -p /var/run/lirc
lircd --driver=$LIRC_DRIVER \
--device=$LIRC_DEVICE \
--output=$LIRC_OUTPUT
)&