summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/statd
diff options
context:
space:
mode:
authormatteo <matteo@FreeBSD.org>2007-04-04 13:16:18 +0000
committermatteo <matteo@FreeBSD.org>2007-04-04 13:16:18 +0000
commit77c98c1031ceb81b395805aba678fb8b5327c596 (patch)
treebe3a0d1b37ee07d1c29e249717b5f7f6272af8f0 /etc/rc.d/statd
parentdaaf826b0d0694a8e8780448d5d5fa8976f1d34e (diff)
downloadFreeBSD-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/statd')
-rw-r--r--etc/rc.d/statd8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/rc.d/statd b/etc/rc.d/statd
index 5853a48..02b6b20 100644
--- a/etc/rc.d/statd
+++ b/etc/rc.d/statd
@@ -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"
OpenPOWER on IntegriCloud