summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-12-29 06:57:34 +0000
committerMike Frysinger <vapier@gentoo.org>2007-12-29 06:57:34 +0000
commita327ce1ad229b4e3b8583ed95b269d04fc8c3504 (patch)
tree64530ee83479e13ba41d29050c500ade605f513b /net-fs/nfs-utils
parentAdd some more ~arch keywords, and slight cleanup. (diff)
downloadgentoo-2-a327ce1ad229b4e3b8583ed95b269d04fc8c3504.tar.gz
gentoo-2-a327ce1ad229b4e3b8583ed95b269d04fc8c3504.tar.bz2
gentoo-2-a327ce1ad229b4e3b8583ed95b269d04fc8c3504.zip
Look up the full path of rpc.statd to avoid matching the init.d script #203646 by legate.
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'net-fs/nfs-utils')
-rw-r--r--net-fs/nfs-utils/ChangeLog6
-rwxr-xr-xnet-fs/nfs-utils/files/rpc.statd.initd4
2 files changed, 7 insertions, 3 deletions
diff --git a/net-fs/nfs-utils/ChangeLog b/net-fs/nfs-utils/ChangeLog
index 7af5d737641e..6ba602a764b9 100644
--- a/net-fs/nfs-utils/ChangeLog
+++ b/net-fs/nfs-utils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-fs/nfs-utils
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.109 2007/10/15 14:41:58 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.110 2007/12/29 06:57:33 vapier Exp $
+
+ 29 Dec 2007; Mike Frysinger <vapier@gentoo.org> files/rpc.statd.initd:
+ Look up the full path of rpc.statd to avoid matching the init.d script
+ #203646 by legate.
15 Oct 2007; Markus Rothe <corsair@gentoo.org> nfs-utils-1.1.0-r1.ebuild:
Stable on ppc64
diff --git a/net-fs/nfs-utils/files/rpc.statd.initd b/net-fs/nfs-utils/files/rpc.statd.initd
index fb60de7c1bd5..00b4f426d3f7 100755
--- a/net-fs/nfs-utils/files/rpc.statd.initd
+++ b/net-fs/nfs-utils/files/rpc.statd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.statd.initd,v 1.3 2007/05/12 11:27:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.statd.initd,v 1.4 2007/12/29 06:57:34 vapier Exp $
[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
@@ -33,7 +33,7 @@ mount_nfsd() {
is_running() {
# Don't start rpc.statd if already started by someone else ...
# Don't try and kill it if it's already dead ...
- killall -0 rpc.statd 2>/dev/null
+ killall -q -0 ${rpc_bin}
}
start() {