NetBSD/etc/rc.d/nfsd

20 lines
345 B
Plaintext
Raw Normal View History

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