autoload the nfsd module if need be #64709
authorMike Frysinger <vapier@gentoo.org>
Sat, 9 Oct 2004 18:42:47 +0000 (18:42 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 9 Oct 2004 18:42:47 +0000 (18:42 +0000)
net-fs/nfs-utils/Manifest
net-fs/nfs-utils/files/nfs-5

index 4160fba2768dabc451924686b6d35f28f982f95a..905ce66f1e3dde03032022ec2abbbf11292cd468 100644 (file)
@@ -1,16 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 MD5 761b736ca8045b4046195f65ef45b6b2 ChangeLog 7260
-MD5 9cee4adcef8a47ea4ee35090f7f89b0a metadata.xml 225
 MD5 50e8125cff661e1d923cc7fe68c2443b nfs-utils-1.0.5-r1.ebuild 1927
-MD5 08224f3ef1b36f99a2acec8352bcc087 nfs-utils-1.0.6-r1.ebuild 2485
 MD5 4b7e8c4bd92672689cb09758a0740c3d nfs-utils-1.0.6.ebuild 2536
+MD5 9cee4adcef8a47ea4ee35090f7f89b0a metadata.xml 225
+MD5 08224f3ef1b36f99a2acec8352bcc087 nfs-utils-1.0.6-r1.ebuild 2485
 MD5 31f8d3e09c11fac9eba5420e1c333885 nfs-utils-1.0.6-r4.ebuild 2702
 MD5 3219e53cb07ef64536526153158b7ab2 files/digest-nfs-utils-1.0.5-r1 67
 MD5 3a3d8bd1a03bbf2c51a4e77a3516febd files/digest-nfs-utils-1.0.6 67
-MD5 3a3d8bd1a03bbf2c51a4e77a3516febd files/digest-nfs-utils-1.0.6-r1 67
 MD5 a02eed87e5d581e56feb0f6dfd18e6df files/exports 66
 MD5 635fd13b0d0824693d268a840b2cafee files/nfs-2 4736
-MD5 972c19f796b7767aebc138eae1314090 files/nfs-3 5135
 MD5 f8a68818c4ada04adf560d81a6cfe943 files/nfs.confd 538
 MD5 b8368dca9c921631ed7019c5c08c3a11 files/nfsmount 1163
+MD5 3a3d8bd1a03bbf2c51a4e77a3516febd files/digest-nfs-utils-1.0.6-r1 67
+MD5 972c19f796b7767aebc138eae1314090 files/nfs-3 5135
 MD5 3a3d8bd1a03bbf2c51a4e77a3516febd files/digest-nfs-utils-1.0.6-r4 67
-MD5 bb9c3d4e655f6355f880ba32833a88c3 files/nfs-5 5166
+MD5 fb05ee33c977d298669f4290918027a8 files/nfs-5 5286
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBaDE9HTu7gpaalycRAn33AKCkpWp8/DosuOVIthOcAvvo1oJLeACfUl8X
+onK3oOsxXs7yRewXinNyBrM=
+=qi9/
+-----END PGP SIGNATURE-----
index 2e6065e3a65d707dfc63ab4f6f2fdd046ef5dfe1..637106c39e37865510de02fd5f56eaae0da473d8 100644 (file)
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs-5,v 1.3 2004/07/14 23:36:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs-5,v 1.4 2004/10/09 18:42:47 vapier Exp $
 
 #---------------------------------------------------------------------------
 # This script starts/stops the following
@@ -64,6 +64,11 @@ waitfor_exportfs() {
 }
 
 start() {
+       # Make sure nfs support is loaded in the kernel #64709
+       if [ -e /proc/modules ] ; then
+               modprobe nfsd &> /dev/null
+       fi
+
        # This is the new "kernel 2.6 way" to handle the exports file
        if grep -q nfsd /proc/filesystems &>/dev/null; then
                if ! grep -q "nfsd /proc/fs/nfs" /proc/mounts &>/dev/null; then