Argh! s/nfs_client_enable/nfsclient_enable/g

This commit is contained in:
Mike Makonnen 2008-06-23 04:05:39 +00:00
parent 8b5adf2fab
commit 3e9cc7692f
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 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 @@ lockd_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

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