summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2006-09-22 14:12:58 +0000
committerMarkus Ullmann <jokey@gentoo.org>2006-09-22 14:12:58 +0000
commitbd637e492d3fdbe6798b055d66d65983e34a1cfd (patch)
tree3c9187bbb62379bab3f38a40f0a8dc2e9a001cca /app-misc/lcdproc/files
parentCleanup. (diff)
downloadgentoo-2-bd637e492d3fdbe6798b055d66d65983e34a1cfd.tar.gz
gentoo-2-bd637e492d3fdbe6798b055d66d65983e34a1cfd.tar.bz2
gentoo-2-bd637e492d3fdbe6798b055d66d65983e34a1cfd.zip
Adding new init.d script for 0.5.0 to fix bug #148513
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'app-misc/lcdproc/files')
-rw-r--r--app-misc/lcdproc/files/0.4.5-LCDd22
-rw-r--r--app-misc/lcdproc/files/0.5.0-LCDd24
-rw-r--r--app-misc/lcdproc/files/digest-lcdproc-0.5.0-r13
3 files changed, 49 insertions, 0 deletions
diff --git a/app-misc/lcdproc/files/0.4.5-LCDd b/app-misc/lcdproc/files/0.4.5-LCDd
new file mode 100644
index 000000000000..9b153edc6204
--- /dev/null
+++ b/app-misc/lcdproc/files/0.4.5-LCDd
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/files/0.4.5-LCDd,v 1.1 2006/09/22 14:12:58 jokey Exp $
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting LCDd"
+ start-stop-daemon --start --quiet -m --pidfile /var/run/LCDd.pid \
+ --background --exec /usr/sbin/LCDd -- -s -f -c /etc/LCDd.conf
+ sleep 1
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping LCDd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/LCDd.pid
+ eend $?
+}
diff --git a/app-misc/lcdproc/files/0.5.0-LCDd b/app-misc/lcdproc/files/0.5.0-LCDd
new file mode 100644
index 000000000000..daefa4aaaa35
--- /dev/null
+++ b/app-misc/lcdproc/files/0.5.0-LCDd
@@ -0,0 +1,24 @@
+#!/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.0-LCDd,v 1.1 2006/09/22 14:12:58 jokey Exp $
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting LCDd"
+ start-stop-daemon --start --quiet -m --pidfile /var/run/LCDd.pid \
+ --background --exec /usr/sbin/LCDd -- -s 1 -f 1 \
+ || ( eerror "Failed to start LCDd. Did you remember to set a driver in /etc/LCDd.conf? See syslog for details." \
+ && return 1 )
+ sleep 1
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping LCDd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/LCDd.pid
+ eend $?
+}
diff --git a/app-misc/lcdproc/files/digest-lcdproc-0.5.0-r1 b/app-misc/lcdproc/files/digest-lcdproc-0.5.0-r1
new file mode 100644
index 000000000000..6fd0b99fd06c
--- /dev/null
+++ b/app-misc/lcdproc/files/digest-lcdproc-0.5.0-r1
@@ -0,0 +1,3 @@
+MD5 4b67e421c19063fa322611a849ab5b80 lcdproc-0.5.0.tar.gz 711118
+RMD160 44153db5fe24cc45aa1b7a4be8afb87a9cd58062 lcdproc-0.5.0.tar.gz 711118
+SHA256 a7567f3f68517008e68d15b33630f36ba539540fbb361a2f9c440ce2ceb8393b lcdproc-0.5.0.tar.gz 711118