diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-09-22 14:12:58 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-09-22 14:12:58 +0000 |
commit | fbad3a519bbfa249c4a5ab62f63ab8140e513864 (patch) | |
tree | d10bed8bc675ac861e7a005afdb20b085c144feb /app-misc/lcdproc/files | |
parent | Cleanup. (diff) | |
download | historical-fbad3a519bbfa249c4a5ab62f63ab8140e513864.tar.gz historical-fbad3a519bbfa249c4a5ab62f63ab8140e513864.tar.bz2 historical-fbad3a519bbfa249c4a5ab62f63ab8140e513864.zip |
Adding new init.d script for 0.5.0 to fix bug #148513
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'app-misc/lcdproc/files')
-rw-r--r-- | app-misc/lcdproc/files/0.4.5-LCDd | 22 | ||||
-rw-r--r-- | app-misc/lcdproc/files/0.5.0-LCDd | 24 | ||||
-rw-r--r-- | app-misc/lcdproc/files/digest-lcdproc-0.5.0-r1 | 3 |
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 |