From 34eb31ca42b2b8ff32facb5fe42f552095f92ecf Mon Sep 17 00:00:00 2001 From: Rick Macklem Date: Sat, 11 Jun 2011 21:14:22 +0000 Subject: [PATCH] Make three one line changes to the rc scripts so that they work with the new NFS client being the default, since the new NFS client's module name is nfscl and not nfsclient. --- etc/defaults/rc.conf | 2 +- etc/rc.d/mountcritremote | 2 +- etc/rc.d/nfsclient | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 0fa90047e63..2faf7fb59bc 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -89,7 +89,7 @@ fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails. fsck_y_flags="" # Additional flags for fsck -y background_fsck="YES" # Attempt to run fsck in the background where possible. background_fsck_delay="60" # Time to wait (seconds) before starting the fsck. -netfs_types="nfs:NFS newnfs:NEWNFS smbfs:SMB portalfs:PORTAL nwfs:NWFS" # Net filesystems. +netfs_types="nfs:NFS oldnfs:OLDNFS smbfs:SMB portalfs:PORTAL nwfs:NWFS" # Net filesystems. extra_netfs_types="NO" # List of network extra filesystem types for delayed # mount at startup (or NO). diff --git a/etc/rc.d/mountcritremote b/etc/rc.d/mountcritremote index ff965dac9bf..91500e20399 100755 --- a/etc/rc.d/mountcritremote +++ b/etc/rc.d/mountcritremote @@ -26,7 +26,7 @@ mountcritremote_precmd() case "`mount -d -a -t nfs 2> /dev/null`" in *mount_nfs*) # Handle absent nfs client support - load_kld -m nfs nfsclient || return 1 + load_kld -m nfs nfscl || return 1 ;; esac return 0 diff --git a/etc/rc.d/nfsclient b/etc/rc.d/nfsclient index c97a52a7c9d..fa7906d83bc 100755 --- a/etc/rc.d/nfsclient +++ b/etc/rc.d/nfsclient @@ -13,7 +13,7 @@ name="nfsclient" rcvar="nfs_client_enable" start_cmd="nfsclient_start" stop_cmd="unmount_all" -required_modules="nfsclient:oldnfs" +required_modules="nfscl:nfs" nfsclient_start() {