Added support for DE200C VFD
[lcdproc-de200c.git] / server / drivers / de200c-vfd / etc / init.d / de200clients
blob87aeab187422c0c51dd674fdec7e7b5cbd39ae39
1 #!/sbin/runscript
2 # Copyright 1999-2004 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd-0.8.3,v 1.1 2008/05/05 09:53:19 zzam Exp $
6 PIDFILE=/var/run/${SVCNAME}.pid
8 depend() {
9         use de200vfd
12 start() {
13         ebegin "Starting de200vfd"
14         start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/local/sbin/vfdserver -- \
15                 -P "${PIDFILE}" ${LIRCD_OPTS}
16         eend $?
19 stop() {
20         ebegin "Stopping lcdd"
21         start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --exec /usr/local/sbin/vfdserver
22         eend $?