diff options
author | mtm <mtm@FreeBSD.org> | 2004-02-19 05:49:06 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2004-02-19 05:49:06 +0000 |
commit | 7ae22c7183498247bd0c5d9bbf3902be44256bb0 (patch) | |
tree | 79228d01b8d35791fe8a14e8aec66d70ade4d70a /etc/rc.d/lockd | |
parent | f84686bc1d61697ffca893d0d997c458505e6ce8 (diff) | |
download | FreeBSD-src-7ae22c7183498247bd0c5d9bbf3902be44256bb0.zip FreeBSD-src-7ae22c7183498247bd0c5d9bbf3902be44256bb0.tar.gz |
In-line documentation.
Prodded by: alfred
Diffstat (limited to 'etc/rc.d/lockd')
-rw-r--r-- | etc/rc.d/lockd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/rc.d/lockd b/etc/rc.d/lockd index b956d9f..94b239b 100644 --- a/etc/rc.d/lockd +++ b/etc/rc.d/lockd @@ -11,19 +11,27 @@ . /etc/rc.subr +# Save the (one) commandline argument incase it gets clobbered. arg=$1 +# Either NFS client or server must be enabled or this must be a 'forcestart' +# for either of the daemons to start. +# start_precmd='checkyesno nfs_server_enable || checkyesno nfs_client_enable || [ -n "$rc_force" ]' stop_precmd=$start_precmd status_precmd=$start_precmd +# rpc.statd +# name="statd" rcvar=rpc_statd_enable command="/usr/sbin/rpc.${name}" load_rc_config $name run_rc_command "$arg" +# rpc.lockd +# name="lockd" rcvar=rpc_lockd_enable command="/usr/sbin/rpc.${name}" |