summaryrefslogtreecommitdiff
blob: 370b61abdfafbbbd4207410c435425cd658bff87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd,v 1.6 2004/09/26 21:27:07 lanius Exp $

start() {
	ebegin "Starting lircd"
	start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- ${LIRCD_OPTS}
	eend $?
}

stop() {
	ebegin "Stopping lircd"
	start-stop-daemon --stop --quiet --exec /usr/sbin/lircd
	eend $?
}