3 # FreeBSD History: src/etc/rc.d/nfslocking,v 1.11 2004/10/07 13:55:26 mtm
8 # REQUIRE: nfsclient nfsd rpcbind statd
10 # KEYWORD: nojail shutdown
15 rcvar=rpc_lockd_enable
16 command="/usr/sbin/rpc.${name}"
17 start_precmd='lockd_precmd'
19 # Make sure that we are either an NFS client or server, and that we get
20 # the correct flags from rc.conf(5).
24 force_depend rpcbind || return 1
25 force_depend statd rpc_statd || return 1
27 rc_flags=${rpc_lockd_flags}