3 # $NetBSD: nfslocking,v 1.6 2002/03/24 15:52:41 lukem Exp $
4 # $FreeBSD: src/etc/rc.d/nfslocking,v 1.4 2003/01/20 18:57:16 mtm Exp $
5 # $DragonFly: src/etc/rc.d/nfslocking,v 1.4 2005/11/19 22:47:32 swildner Exp $
9 # REQUIRE: nfsserver nfsclient nfsd
16 RCVAR_SERVER
="nfs_server_enable"
17 RCVAR_CLIENT
="nfs_client_enable"
18 RCVAR_STATD
="rpc_statd_enable"
19 RCVAR_LOCKD
="rpc_lockd_enable"
21 start_precmd
='checkyesno ${RCVAR_SERVER} || checkyesno ${RCVAR_CLIENT} ||
23 stop_precmd
=$start_precmd
24 status_precmd
=$start_precmd
28 command="/usr/sbin/rpc.${name}"
34 command="/usr/sbin/rpc.${name}"