3 # $FreeBSD: src/etc/rc.d/nfsserver,v 1.2 2002/10/12 10:31:31 schweikh Exp $
4 # $DragonFly: src/etc/rc.d/nfsserver,v 1.4 2005/11/19 21:47:32 swildner Exp $
8 # REQUIRE: NETWORKING mountcritremote
13 rcvar
="nfs_server_enable"
14 start_cmd
="nfsserver_start"
17 # Load nfs modules if they were not compiled into the kernel
20 if ! sysctl vfs.nfs
>/dev
/null
2>&1; then
21 if ! kldload nfs
; then
22 warn
'Could not load NFS module'