summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/lcdproc/files/0.5.1-lcdproc.initd')
-rw-r--r--app-misc/lcdproc/files/0.5.1-lcdproc.initd21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-misc/lcdproc/files/0.5.1-lcdproc.initd b/app-misc/lcdproc/files/0.5.1-lcdproc.initd
new file mode 100644
index 000000000000..8cc979a53209
--- /dev/null
+++ b/app-misc/lcdproc/files/0.5.1-lcdproc.initd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend(){
+ use LCDd
+}
+
+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 $?
+}