summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/statd
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2008-06-23 04:05:39 +0000
committermtm <mtm@FreeBSD.org>2008-06-23 04:05:39 +0000
commit8633de4dbc2808c638ec9e4a9ea67f31071fdef1 (patch)
treee39114e7f56fa92ecea5df1c166346895e0fb270 /etc/rc.d/statd
parente01154eb3a51571240a8d6b08dd06f9618a1bb37 (diff)
downloadFreeBSD-src-8633de4dbc2808c638ec9e4a9ea67f31071fdef1.zip
FreeBSD-src-8633de4dbc2808c638ec9e4a9ea67f31071fdef1.tar.gz
Argh! s/nfs_client_enable/nfsclient_enable/g
Diffstat (limited to 'etc/rc.d/statd')
-rw-r--r--etc/rc.d/statd4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/statd b/etc/rc.d/statd
index bdb4095..39a0a96 100644
--- a/etc/rc.d/statd
+++ b/etc/rc.d/statd
@@ -15,7 +15,7 @@ name="statd"
rcvar=rpc_statd_enable
command="/usr/sbin/rpc.${name}"
start_precmd='statd_precmd'
-stop_precmd='checkyesno nfs_server_enable || checkyesno nfs_client_enable'
+stop_precmd='checkyesno nfs_server_enable || checkyesno nfsclient_enable'
status_precmd=$stop_precmd
# Make sure that we are either an NFS client or server, and that we get
@@ -26,7 +26,7 @@ statd_precmd()
local ret
ret=0
- if ! checkyesno nfs_server_enable && ! checkyesno nfs_client_enable
+ if ! checkyesno nfs_server_enable && ! checkyesno nfsclient_enable
then
ret=1
fi
OpenPOWER on IntegriCloud