diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2011-04-26 00:22:17 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2011-04-26 00:22:17 +0000 |
commit | 617fb5f51700207d1e18631393930ccbcff389db (patch) | |
tree | de06a474f87dccafec1e8653aebc5b96e755ca06 /etc/rc.d/mountd | |
parent | ebe803c4913a501588fff3a8fb3afd3c96f618e6 (diff) | |
download | FreeBSD-src-617fb5f51700207d1e18631393930ccbcff389db.zip FreeBSD-src-617fb5f51700207d1e18631393930ccbcff389db.tar.gz |
Update the /etc/rc.d scripts for mountd and nfsd so they
can use the "-o" option to force the old NFS server to run.
Running the old NFS server is enabled by setting
oldnfs_server_enable="YES". The scripts will only enable
providing service for NFSv4 if nfsv4_server_enable="YES"
is set.
Reviewed by: dougb (rc)
Diffstat (limited to 'etc/rc.d/mountd')
-rwxr-xr-x | etc/rc.d/mountd | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/rc.d/mountd b/etc/rc.d/mountd index e893e98..1fad302 100755 --- a/etc/rc.d/mountd +++ b/etc/rc.d/mountd @@ -37,11 +37,10 @@ mountd_precmd() fi fi - # If nfsv4_server_enable is yes, force use of the experimental - # server + # If oldnfs_server_enable is yes, force use of the old NFS server # - if checkyesno nfsv4_server_enable; then - rc_flags="-e ${rc_flags}" + if checkyesno oldnfs_server_enable; then + rc_flags="-o ${rc_flags}" fi if checkyesno zfs_enable; then |