diff options
author | mtm <mtm@FreeBSD.org> | 2008-06-27 15:45:17 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2008-06-27 15:45:17 +0000 |
commit | 106e8ef4a8747767f01ae2eb97e2207456b079c6 (patch) | |
tree | fbd3191d8f93508c435a19064f5fad7803a470c0 /etc/rc.d/lockd | |
parent | 23397956aa549244d739160aef4ec9a8c1b9fff3 (diff) | |
download | FreeBSD-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/lockd')
-rw-r--r-- | etc/rc.d/lockd | 4 |
1 files changed, 2 insertions, 2 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 |