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:
parent
5461c0b226
commit
cca7688f37
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user