diff options
author | matteo <matteo@FreeBSD.org> | 2007-04-04 13:16:18 +0000 |
---|---|---|
committer | matteo <matteo@FreeBSD.org> | 2007-04-04 13:16:18 +0000 |
commit | 77c98c1031ceb81b395805aba678fb8b5327c596 (patch) | |
tree | be3a0d1b37ee07d1c29e249717b5f7f6272af8f0 /etc/rc.d/lockd | |
parent | daaf826b0d0694a8e8780448d5d5fa8976f1d34e (diff) | |
download | FreeBSD-src-77c98c1031ceb81b395805aba678fb8b5327c596.zip FreeBSD-src-77c98c1031ceb81b395805aba678fb8b5327c596.tar.gz |
Add rpc_statd_flags and rpc_lockd_flags options to allow options to be
passed to rpc.statd and rpc.lockd
MFC after: 1 week
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 5853a48..02b6b20 100644 --- a/etc/rc.d/lockd +++ b/etc/rc.d/lockd @@ -29,6 +29,14 @@ nfslocking_precmd() then force_depend rpcbind || return 1 fi + + if [ $name = "statd" ] + then + rc_flags=${rpc_statd_flags} + elif [ $name = "lockd" ] + then + rc_flags=${rpc_lockd_flags} + fi } start_precmd="nfslocking_precmd" |