diff options
author | Robert Buchholz <rbu@gentoo.org> | 2008-09-12 23:58:55 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2008-09-12 23:58:55 +0000 |
commit | af87b4fdada0850c22591601a0f00293bfa25332 (patch) | |
tree | 84977f8df2a0d5837ff9a8cc7cc5c0ca923d7664 /app-misc/lcdproc/files | |
parent | add games-strategy/smac to no-multilib mask (diff) | |
download | historical-af87b4fdada0850c22591601a0f00293bfa25332.tar.gz historical-af87b4fdada0850c22591601a0f00293bfa25332.tar.bz2 historical-af87b4fdada0850c22591601a0f00293bfa25332.zip |
Add imonlcd to support Antec iMON LCD modules (bug #232328), lcdproc init
script should start after ntp-client (bug #234084), fix quoting.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.27-rc6 x86_64
Diffstat (limited to 'app-misc/lcdproc/files')
-rw-r--r-- | app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd b/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd new file mode 100644 index 000000000000..aa161a93991c --- /dev/null +++ b/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd,v 1.1 2008/09/12 23:58:55 rbu Exp $ + +depend(){ + use LCDd + after ntp-client +} + +start() { + ebegin "Starting lcdproc" + start-stop-daemon --start --background \ + --exec /usr/bin/lcdproc + eend $? +} + +stop() { + ebegin "Stopping lcdproc" + start-stop-daemon --stop --exec /usr/bin/lcdproc + eend $? +} |