- some cleanups and cosmetics to the init script
This commit is contained in:
Stephan Raue 2010-04-05 14:43:58 +02:00
parent 9c9a2c9364
commit c63b37d59f

View File

@ -2,11 +2,17 @@
# #
# runlevels: openelec, textmode # runlevels: openelec, textmode
LIRC_DRIVER="default"
LIRC_DEVICE="/dev/lirc0"
LIRC_OUTPUT="/dev/lircd"
( (
progress "Starting LIRC daemon" progress "Starting LIRC daemon"
. /etc/lirc.conf
$IONICE mkdir -p /var/run/lirc $IONICE mkdir -p /var/run/lirc
lircd --driver=$LIRC_DRIVER --device=$LIRC_DEVICE --output=$LIRC_OUTPUT
lircd --driver=$LIRC_DRIVER \
--device=$LIRC_DEVICE \
--output=$LIRC_OUTPUT
)& )&