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.3 2004/01/27 00:42:45 rob Exp $
8 # REQUIRE: NETWORKING mountcritremote
14 rcvar
="nfs_server_enable"
15 start_cmd
="nfsserver_start"
18 # Load nfs modules if they were not compiled into the kernel
21 if ! sysctl vfs.nfs
>/dev
/null
2>&1; then
22 if ! kldload nfs
; then
23 warn
'Could not load NFS module'