summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-06-11 21:14:22 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-06-11 21:14:22 +0000
commit0468d6a40f7c937d287f5633b9a7edc866f11f7d (patch)
tree5d54f145542ba23cbfae4d1ecd6bd689deac0e8a /etc/rc.d
parent6b9465356dffc3a21819f75f370e97cf00aa750d (diff)
downloadFreeBSD-src-0468d6a40f7c937d287f5633b9a7edc866f11f7d.zip
FreeBSD-src-0468d6a40f7c937d287f5633b9a7edc866f11f7d.tar.gz
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.
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/mountcritremote2
-rwxr-xr-xetc/rc.d/nfsclient2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/mountcritremote b/etc/rc.d/mountcritremote
index ff965da..91500e2 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 c97a52a..fa7906d 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()
{
OpenPOWER on IntegriCloud