NetBSD/etc/rc.d/nfsd
lukem 919eb089e2 change mountd to use its own $mountd variable (instead of $nfs_server).
nfsd will complain if mountd isn't set.  from [misc/13135] by Johnny C. Lam.
2001-06-16 06:13:09 +00:00

18 lines
252 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: nfsd,v 1.4 2001/06/16 06:13:10 lukem Exp $
#
# PROVIDE: nfsd
# REQUIRE: mountd
. /etc/rc.subr
name="nfsd"
rcvar="nfs_server"
command="/usr/sbin/${name}"
required_vars="mountd rpcbind"
load_rc_config $name
run_rc_command "$1"