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: nfs.initd
Date: Sat, 31 Jan 2009 22:13:58
Message-Id: E1LTO68-0006jl-R5@stork.gentoo.org
1 vapier 09/01/31 22:13:56
2
3 Modified: nfs.initd
4 Log:
5 Add /proc/fs/nfs -> /proc/fs/nfsd fix again.
6
7 Revision Changes Path
8 1.16 net-fs/nfs-utils/files/nfs.initd
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?rev=1.16&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?rev=1.16&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?r1=1.15&r2=1.16
13
14 Index: nfs.initd
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v
17 retrieving revision 1.15
18 retrieving revision 1.16
19 diff -u -r1.15 -r1.16
20 --- nfs.initd 31 Jan 2009 22:12:53 -0000 1.15
21 +++ nfs.initd 31 Jan 2009 22:13:56 -0000 1.16
22 @@ -1,7 +1,7 @@
23 #!/sbin/runscript
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.15 2009/01/31 22:12:53 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.16 2009/01/31 22:13:56 vapier Exp $
28
29 opts="reload"
30
31 @@ -55,9 +55,9 @@
32
33 # This is the new "kernel 2.6 way" to handle the exports file
34 if grep -qs nfsd /proc/filesystems ; then
35 - if ! grep -qs "nfsd /proc/fs/nfs" /proc/mounts ; then
36 + if ! grep -qs "nfsd /proc/fs/nfsd" /proc/mounts ; then
37 ebegin "Mounting nfsd filesystem in /proc"
38 - mount -t nfsd -o nodev,noexec,nosuid nfsd /proc/fs/nfs
39 + mount -t nfsd -o nodev,noexec,nosuid nfsd /proc/fs/nfsd
40 eend $?
41 fi
42 fi