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
This commit is contained in:
Mike Makonnen 2008-06-27 15:45:17 +00:00
parent 5461c0b226
commit cca7688f37
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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