- simplyfing init script
This commit is contained in:
Stephan Raue 2009-12-29 19:39:09 +01:00
parent 2ee3ac7106
commit 37fac13fc1

View File

@ -1,12 +1,8 @@
#!/bin/sh
#
# start the LIRC daemon # start the LIRC daemon
# #
# runlevels: openelec, text, debug # runlevels: openelec, text, debug
( (
. /etc/sysconfig
progress "Starting LIRC daemon" progress "Starting LIRC daemon"
# insert needed modules # insert needed modules
@ -19,5 +15,3 @@
mkdir -p /var/run/lirc 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
)& )&
exit 0