summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd')
-rw-r--r--app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd22
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..ecb98f8135aa
--- /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
+# $Id$
+
+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 $?
+}