diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-04-20 00:06:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-04-20 00:06:29 +0000 |
commit | ba31da7d286d6e7e57e39eae454f3686c8392fd1 (patch) | |
tree | ceeaba6fe3ed8abd1911c51f33395c4a2c1439cc /net-fs/nfs-utils/files | |
parent | Add reference to bug #189590 to ChangeLog. (diff) | |
download | gentoo-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-x | net-fs/nfs-utils/files/nfsmount.initd | 4 |
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} |