mbuf.9: Adjust for removal of m_devget()'s 'copy' argument.
[dragonfly.git] / etc / rc.d / nfsserver
blobe2b68542e12cae926ef0999341b6b8815ecfcb69
1 #!/bin/sh
3 # $FreeBSD: src/etc/rc.d/nfsserver,v 1.2 2002/10/12 10:31:31 schweikh Exp $
6 # PROVIDE: nfsserver
7 # REQUIRE: NETWORKING mountcritremote
9 . /etc/rc.subr
11 name="nfsserver"
12 rcvar="nfs_server_enable"
13 start_cmd="nfsserver_start"
14 stop_cmd=":"
16 # Load nfs modules if they were not compiled into the kernel
17 nfsserver_start()
19 kldload -n nfs || return 1
20 return 0
23 load_rc_config $name
24 run_rc_command "$1"