summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2008-06-27 15:45:17 +0000
committermtm <mtm@FreeBSD.org>2008-06-27 15:45:17 +0000
commit106e8ef4a8747767f01ae2eb97e2207456b079c6 (patch)
treefbd3191d8f93508c435a19064f5fad7803a470c0 /etc/rc.d
parent23397956aa549244d739160aef4ec9a8c1b9fff3 (diff)
downloadFreeBSD-src-106e8ef4a8747767f01ae2eb97e2207456b079c6.zip
FreeBSD-src-106e8ef4a8747767f01ae2eb97e2207456b079c6.tar.gz
Backout r179941. The nfsclient knob always confuses me. I should have
double-checked my setup before commiting. Noticed by: Florian Smeets Pointy hat to: mtm
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/lockd4
-rw-r--r--etc/rc.d/statd4
2 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.d/lockd b/etc/rc.d/lockd
index 6dc5912..809b2ff 100644
--- a/etc/rc.d/lockd
+++ b/etc/rc.d/lockd
@@ -15,7 +15,7 @@ name="lockd"
rcvar=rpc_lockd_enable
command="/usr/sbin/rpc.${name}"
start_precmd='lockd_precmd'
-stop_precmd='checkyesno nfs_server_enable || checkyesno nfsclient_enable'
+stop_precmd='checkyesno nfs_server_enable || checkyesno nfs_client_enable'
status_precmd=$stop_precmd
# Make sure that we are either an NFS client or server, and that we get
@@ -26,7 +26,7 @@ lockd_precmd()
local ret
ret=0
- if ! checkyesno nfs_server_enable && ! checkyesno nfsclient_enable
+ if ! checkyesno nfs_server_enable && ! checkyesno nfs_client_enable
then
ret=1
fi
diff --git a/etc/rc.d/statd b/etc/rc.d/statd
index 39a0a96..bdb4095 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 nfsclient_enable'
+stop_precmd='checkyesno nfs_server_enable || checkyesno nfs_client_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 nfsclient_enable
+ if ! checkyesno nfs_server_enable && ! checkyesno nfs_client_enable
then
ret=1
fi
OpenPOWER on IntegriCloud