Changeset View
Changeset View
Standalone View
Standalone View
etc/rc.d/lockd
#!/bin/sh | #!/bin/sh | ||||
# | # | ||||
# FreeBSD History: src/etc/rc.d/nfslocking,v 1.11 2004/10/07 13:55:26 mtm | # FreeBSD History: src/etc/rc.d/nfslocking,v 1.11 2004/10/07 13:55:26 mtm | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# PROVIDE: lockd | # PROVIDE: lockd | ||||
# REQUIRE: nfsclient nfsd rpcbind statd | # REQUIRE: nfsclient nfsd rpcbind statd | ||||
# BEFORE: DAEMON | # BEFORE: DAEMON | ||||
# KEYWORD: nojail shutdown | # KEYWORD: nojail shutdown | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
name="lockd" | name="lockd" | ||||
desc="NFS file locking daemon" | |||||
rcvar=rpc_lockd_enable | rcvar=rpc_lockd_enable | ||||
command="/usr/sbin/rpc.${name}" | command="/usr/sbin/rpc.${name}" | ||||
start_precmd='lockd_precmd' | start_precmd='lockd_precmd' | ||||
# Make sure that we are either an NFS client or server, and that we get | # Make sure that we are either an NFS client or server, and that we get | ||||
# the correct flags from rc.conf(5). | # the correct flags from rc.conf(5). | ||||
# | # | ||||
lockd_precmd() | lockd_precmd() | ||||
Show All 9 Lines |