aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/statd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rc/rc.d/statd')
-rwxr-xr-xlibexec/rc/rc.d/statd7
1 files changed, 5 insertions, 2 deletions
diff --git a/libexec/rc/rc.d/statd b/libexec/rc/rc.d/statd
index 03254932c37c..3f2678af2940 100755
--- a/libexec/rc/rc.d/statd
+++ b/libexec/rc/rc.d/statd
@@ -16,15 +16,18 @@ rcvar=rpc_statd_enable
command="/usr/sbin/rpc.${name}"
start_precmd='statd_precmd'
+: ${statd_svcj_options:="net_basic"}
+
# Make sure that we are either an NFS client or server, and that we get
# the correct flags from rc.conf(5).
#
statd_precmd()
{
force_depend rpcbind || return 1
-
- rc_flags=${rpc_statd_flags}
}
load_rc_config $name
+
+rc_flags=${rpc_statd_flags}
+
run_rc_command $1