From 901a3daa235b2685556819a6887fb921dc22ffda Mon Sep 17 00:00:00 2001 From: rmacklem Date: Sun, 8 May 2011 01:01:27 +0000 Subject: Change the new NFS server so that it uses vfs.nfsd naming for its sysctls instead of vfs.newnfs. This separates the names from the ones used by the client. --- etc/rc.d/nfsd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/rc.d') diff --git a/etc/rc.d/nfsd b/etc/rc.d/nfsd index 402ba2d..f0a65ba 100755 --- a/etc/rc.d/nfsd +++ b/etc/rc.d/nfsd @@ -33,13 +33,13 @@ nfsd_precmd() else rc_flags="${nfs_server_flags}" - # Load the modules now, so that the vfs.newnfs sysctl + # Load the modules now, so that the vfs.nfsd sysctl # oids are available. load_kld nfsd if checkyesno nfs_reserved_port_only; then echo 'NFS on reserved port only=YES' - sysctl vfs.newnfs.nfs_privport=1 > /dev/null + sysctl vfs.nfsd.nfs_privport=1 > /dev/null fi if checkyesno nfsv4_server_enable; then @@ -52,7 +52,7 @@ nfsd_precmd() fi else echo 'NFSv4 is disabled' - sysctl vfs.newnfs.server_max_nfsvers=3 > /dev/null + sysctl vfs.nfsd.server_max_nfsvers=3 > /dev/null fi fi -- cgit v1.1