NetBSD/etc/rc.d/nfsd

20 lines
345 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: nfsd,v 1.7 2004/10/12 14:51:03 lukem Exp $
#
# PROVIDE: nfsd
# REQUIRE: rpcbind mountd
$_rc_subr_loaded . /etc/rc.subr
name="nfsd"
rcvar="nfs_server"
command="/usr/sbin/${name}"
required_vars="mountd rpcbind"
load_rc_config $name
load_rc_config_var rpcbind rpcbind
load_rc_config_var mountd mountd
run_rc_command "$1"