summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-20 00:06:29 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-20 00:06:29 +0000
commitba31da7d286d6e7e57e39eae454f3686c8392fd1 (patch)
treeceeaba6fe3ed8abd1911c51f33395c4a2c1439cc /net-fs/nfs-utils/files
parentAdd reference to bug #189590 to ChangeLog. (diff)
downloadgentoo-2-ba31da7d286d6e7e57e39eae454f3686c8392fd1.tar.gz
gentoo-2-ba31da7d286d6e7e57e39eae454f3686c8392fd1.tar.bz2
gentoo-2-ba31da7d286d6e7e57e39eae454f3686c8392fd1.zip
Fix nfs4/idmapd detection #213384 by Marek Szuba.
(Portage version: 2.2_pre5)
Diffstat (limited to 'net-fs/nfs-utils/files')
-rwxr-xr-xnet-fs/nfs-utils/files/nfsmount.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-fs/nfs-utils/files/nfsmount.initd b/net-fs/nfs-utils/files/nfsmount.initd
index a523a95a281d..a4ba1396c724 100755
--- a/net-fs/nfs-utils/files/nfsmount.initd
+++ b/net-fs/nfs-utils/files/nfsmount.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/nfsmount.initd,v 1.8 2008/01/14 09:56:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd,v 1.9 2008/04/20 00:06:29 vapier Exp $
[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
@@ -10,8 +10,8 @@ depend() {
if [ -e /etc/fstab ] ; then
awk '!/^[[:space:]]*#/ && $3 == "nfs4" { exit ($4 ~ /sec=krb/ ? 1 : 2) }' /etc/fstab
local ret=$?
- [ ${ret} -ne 0 ] && myneed="${myneed} rpc.idmapd"
[ ${ret} -eq 1 ] && myneed="${myneed} rpc.gssd"
+ [ ${ret} -ne 2 ] && myneed="${myneed} rpc.idmapd"
fi
type -t config 2>/dev/null 1>&2 && config /etc/fstab
need net portmap rpc.statd ${myneed}