summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2003-02-06 02:12:10 +0000
committerPeter Johanson <latexer@gentoo.org>2003-02-06 02:12:10 +0000
commit35ad17b0e66e0d6d68b80f4f23c05f7f5a085e5a (patch)
tree2dee8f2e51bce941e1bfe5780f912271cb12016d /app-misc/lcdproc/files
parentAdded a comment about suid root (diff)
downloadhistorical-35ad17b0e66e0d6d68b80f4f23c05f7f5a085e5a.tar.gz
historical-35ad17b0e66e0d6d68b80f4f23c05f7f5a085e5a.tar.bz2
historical-35ad17b0e66e0d6d68b80f4f23c05f7f5a085e5a.zip
Updated ebuild. #15004.
Diffstat (limited to 'app-misc/lcdproc/files')
-rw-r--r--app-misc/lcdproc/files/LCDd8
-rw-r--r--app-misc/lcdproc/files/digest-lcdproc-0.4.3-r21
-rw-r--r--app-misc/lcdproc/files/lcdproc11
3 files changed, 13 insertions, 7 deletions
diff --git a/app-misc/lcdproc/files/LCDd b/app-misc/lcdproc/files/LCDd
index 92a7c4365c75..b90ec0056417 100644
--- a/app-misc/lcdproc/files/LCDd
+++ b/app-misc/lcdproc/files/LCDd
@@ -1,7 +1,7 @@
#!/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 $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/files/LCDd,v 1.2 2003/02/06 02:12:10 latexer Exp $
depend() {
need net
@@ -9,12 +9,14 @@ depend() {
start() {
ebegin "Starting LCDd"
- /usr/sbin/LCDd -c /etc/LCDd.conf
+ start-stop-daemon --start --quiet -m --pidfile /var/run/LCDd.pid \
+ --background --exec /usr/sbin/LCDd -- -c /etc/LCDd.conf
+ sleep 1
eend $?
}
stop() {
ebegin "Stopping LCDd"
- killall LCDd
+ start-stop-daemon --stop --quiet --pidfile /var/run/LCDd.pid
eend $?
}
diff --git a/app-misc/lcdproc/files/digest-lcdproc-0.4.3-r2 b/app-misc/lcdproc/files/digest-lcdproc-0.4.3-r2
new file mode 100644
index 000000000000..1f5322b6c793
--- /dev/null
+++ b/app-misc/lcdproc/files/digest-lcdproc-0.4.3-r2
@@ -0,0 +1 @@
+MD5 77228a346a1f4347eb0db7383c76c988 lcdproc-0.4.3.tar.gz 351458
diff --git a/app-misc/lcdproc/files/lcdproc b/app-misc/lcdproc/files/lcdproc
index ec3a8f5e1e35..ff1fb0e4d3b5 100644
--- a/app-misc/lcdproc/files/lcdproc
+++ b/app-misc/lcdproc/files/lcdproc
@@ -1,18 +1,21 @@
#!/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/lcdproc,v 1.5 2003/01/07 16:58:28 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/files/lcdproc,v 1.6 2003/02/06 02:12:10 latexer Exp $
+depend(){
+ need LCDd
+}
start() {
- ebegin "Starting LCDProc"
source /etc/lcdproc.conf
ebegin "Starting lcdproc"
- /usr/bin/lcdproc -d ${SCREENS}
+ start-stop-daemon --start --background \
+ --exec /usr/bin/lcdproc -- -d ${SCREENS}
eend $?
}
stop() {
ebegin "Stopping LCDProc"
- killall lcdproc
+ start-stop-daemon --stop --exec /usr/bin/lcdproc
eend $?
}