7 # REQUIRE: NETWORKING mountcritremote rpcbind
8 # KEYWORD: nojail shutdown
13 rcvar="nfs_client_enable"
14 start_cmd="nfsclient_start"
15 stop_cmd="unmount_all"
16 required_modules="nfsclient:nfs"
21 # Set some nfs client related sysctls
24 if [ -n "${nfs_access_cache}" ]; then
25 echo "NFS access cache time=${nfs_access_cache}"
26 sysctl vfs.nfs.access_cache_timeout=${nfs_access_cache} >/dev/null
28 if [ -n "${nfs_bufpackets}" ]; then
29 sysctl vfs.nfs.bufpackets=${nfs_bufpackets} > /dev/null
37 # If /var/db/mounttab exists, some nfs-server has not been
38 # successfully notified about a previous client shutdown.
39 # If there is no /var/db/mounttab, we do nothing.
40 if [ -f /var/db/mounttab ]; then