summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-09-20 00:17:10 +0000
committerMike Frysinger <vapier@gentoo.org>2004-09-20 00:17:10 +0000
commit16864267234c240c1aea81a87300fa3bed506b2f (patch)
treeb1142ecbb2e3f62b6c849596a39c9446bed65d40 /net-misc/fakeidentd/files
parentstable on amd64 (Manifest recommit) (diff)
downloadgentoo-2-16864267234c240c1aea81a87300fa3bed506b2f.tar.gz
gentoo-2-16864267234c240c1aea81a87300fa3bed506b2f.tar.bz2
gentoo-2-16864267234c240c1aea81a87300fa3bed506b2f.zip
ver bump #64285
Diffstat (limited to 'net-misc/fakeidentd/files')
-rw-r--r--net-misc/fakeidentd/files/digest-fakeidentd-2.21
-rw-r--r--net-misc/fakeidentd/files/fakeidentd.rc10
2 files changed, 6 insertions, 5 deletions
diff --git a/net-misc/fakeidentd/files/digest-fakeidentd-2.2 b/net-misc/fakeidentd/files/digest-fakeidentd-2.2
new file mode 100644
index 000000000000..baefa6c65d0c
--- /dev/null
+++ b/net-misc/fakeidentd/files/digest-fakeidentd-2.2
@@ -0,0 +1 @@
+MD5 aa4133981c94c59868344cd3b02e8e19 fakeidentd-2.2.tar.bz2 8341
diff --git a/net-misc/fakeidentd/files/fakeidentd.rc b/net-misc/fakeidentd/files/fakeidentd.rc
index 70e547f4a2a3..75efb98650ff 100644
--- a/net-misc/fakeidentd/files/fakeidentd.rc
+++ b/net-misc/fakeidentd/files/fakeidentd.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/files/fakeidentd.rc,v 1.5 2004/07/14 23:58:18 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/files/fakeidentd.rc,v 1.6 2004/09/20 00:17:10 vapier Exp $
depend() {
need net
@@ -15,8 +15,8 @@ start() {
stop() {
ebegin "Stopping fakeidentd"
- [ -e /var/run/fakeidentd.pid ] \
- && kill `cat /var/run/fakeidentd.pid` \
- && rm -f /var/run/fakeidentd.pid
- eend $?
+ start-stop-daemon --stop --pidfile /var/run/fakeidentd.pid
+ local ret=$?
+ rm -f /var/run/fakeidentd.pid
+ eend ${ret}
}