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.
This commit is contained in:
parent
aa35eff5da
commit
919eb089e2
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: rc.conf,v 1.17 2001/06/16 04:09:20 lukem Exp $
|
||||
# $NetBSD: rc.conf,v 1.18 2001/06/16 06:13:09 lukem Exp $
|
||||
#
|
||||
# /etc/defaults/rc.conf --
|
||||
# default configuration of /etc/rc.conf
|
||||
|
@ -176,9 +176,9 @@ yppasswdd=NO yppasswdd_flags=""
|
|||
|
||||
# NFS daemons and parameters.
|
||||
#
|
||||
mountd=NO mountd_flags="" # NFS mount requests daemon
|
||||
nfs_client=NO # enable client daemons
|
||||
nfs_server=NO # enable server daemons
|
||||
mountd_flags=""
|
||||
nfsd_flags="-6tun 4"
|
||||
lockd=NO lockd_flags=""
|
||||
statd=NO statd_flags=""
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: mountd,v 1.9 2001/04/29 23:57:25 lukem Exp $
|
||||
# $NetBSD: mountd,v 1.10 2001/06/16 06:13:10 lukem Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: mountd
|
||||
|
@ -9,7 +9,7 @@
|
|||
. /etc/rc.subr
|
||||
|
||||
name="mountd"
|
||||
rcvar="nfs_server"
|
||||
rcvar=$name
|
||||
command="/usr/sbin/${name}"
|
||||
required_files="/etc/exports"
|
||||
start_precmd="mountd_precmd"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: nfsd,v 1.3 2000/06/02 22:54:12 fvdl Exp $
|
||||
# $NetBSD: nfsd,v 1.4 2001/06/16 06:13:10 lukem Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: nfsd
|
||||
|
@ -11,7 +11,7 @@
|
|||
name="nfsd"
|
||||
rcvar="nfs_server"
|
||||
command="/usr/sbin/${name}"
|
||||
required_vars="rpcbind"
|
||||
required_vars="mountd rpcbind"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
|
|
Loading…
Reference in New Issue