diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-01-07 16:59:04 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-01-07 16:59:04 +0000 |
commit | 71b1e35206a145d8e8f0940c3509a71814068eb7 (patch) | |
tree | 3f718db4e19bc9cc0a1363f7c1abea46aebb5899 /app-misc | |
parent | Security update (diff) | |
download | gentoo-2-71b1e35206a145d8e8f0940c3509a71814068eb7.tar.gz gentoo-2-71b1e35206a145d8e8f0940c3509a71814068eb7.tar.bz2 gentoo-2-71b1e35206a145d8e8f0940c3509a71814068eb7.zip |
initscript for lcdproc
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/lcdproc/files/LCDd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-misc/lcdproc/files/LCDd b/app-misc/lcdproc/files/LCDd new file mode 100644 index 000000000000..92a7c4365c75 --- /dev/null +++ b/app-misc/lcdproc/files/LCDd @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/files/LCDd,v 1.1 2003/01/07 16:59:04 aliz Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting LCDd" + /usr/sbin/LCDd -c /etc/LCDd.conf + eend $? +} + +stop() { + ebegin "Stopping LCDd" + killall LCDd + eend $? +} |