Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/nfs-utils/files: nfsmount.initd
Date: Sun, 20 Apr 2008 00:06:43
Message-Id: E1JnN4f-0006Uj-Rv@stork.gentoo.org
1 vapier 08/04/20 00:06:29
2
3 Modified: nfsmount.initd
4 Log:
5 Fix nfs4/idmapd detection #213384 by Marek Szuba.
6 (Portage version: 2.2_pre5)
7
8 Revision Changes Path
9 1.9 net-fs/nfs-utils/files/nfsmount.initd
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd?rev=1.9&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd?rev=1.9&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd?r1=1.8&r2=1.9
14
15 Index: nfsmount.initd
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd,v
18 retrieving revision 1.8
19 retrieving revision 1.9
20 diff -u -r1.8 -r1.9
21 --- nfsmount.initd 14 Jan 2008 09:56:55 -0000 1.8
22 +++ nfsmount.initd 20 Apr 2008 00:06:29 -0000 1.9
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2007 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd,v 1.8 2008/01/14 09:56:55 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd,v 1.9 2008/04/20 00:06:29 vapier Exp $
29
30 [ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
31
32 @@ -10,8 +10,8 @@
33 if [ -e /etc/fstab ] ; then
34 awk '!/^[[:space:]]*#/ && $3 == "nfs4" { exit ($4 ~ /sec=krb/ ? 1 : 2) }' /etc/fstab
35 local ret=$?
36 - [ ${ret} -ne 0 ] && myneed="${myneed} rpc.idmapd"
37 [ ${ret} -eq 1 ] && myneed="${myneed} rpc.gssd"
38 + [ ${ret} -ne 2 ] && myneed="${myneed} rpc.idmapd"
39 fi
40 type -t config 2>/dev/null 1>&2 && config /etc/fstab
41 need net portmap rpc.statd ${myneed}
42
43
44
45 --
46 gentoo-commits@l.g.o mailing list