2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2004-10-12 18:51:03 +04:00
|
|
|
# $NetBSD: nfsd,v 1.7 2004/10/12 14:51:03 lukem Exp $
|
2000-03-10 14:53:23 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: nfsd
|
2004-10-11 18:11:43 +04:00
|
|
|
# REQUIRE: rpcbind mountd
|
2000-03-10 14:53:23 +03:00
|
|
|
|
2004-08-13 22:08:03 +04:00
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
2000-03-10 14:53:23 +03:00
|
|
|
|
|
|
|
name="nfsd"
|
|
|
|
rcvar="nfs_server"
|
|
|
|
command="/usr/sbin/${name}"
|
2001-06-16 10:13:09 +04:00
|
|
|
required_vars="mountd rpcbind"
|
2000-03-10 14:53:23 +03:00
|
|
|
|
2000-05-13 12:45:06 +04:00
|
|
|
load_rc_config $name
|
2004-10-12 18:51:03 +04:00
|
|
|
load_rc_config_var rpcbind rpcbind
|
|
|
|
load_rc_config_var mountd mountd
|
2000-03-10 14:53:23 +03:00
|
|
|
run_rc_command "$1"
|