Argh! s/nfs_client_enable/nfsclient_enable/g
This commit is contained in:
parent
8b5adf2fab
commit
3e9cc7692f
@ -15,7 +15,7 @@ name="lockd"
|
|||||||
rcvar=rpc_lockd_enable
|
rcvar=rpc_lockd_enable
|
||||||
command="/usr/sbin/rpc.${name}"
|
command="/usr/sbin/rpc.${name}"
|
||||||
start_precmd='lockd_precmd'
|
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
|
status_precmd=$stop_precmd
|
||||||
|
|
||||||
# Make sure that we are either an NFS client or server, and that we get
|
# Make sure that we are either an NFS client or server, and that we get
|
||||||
@ -26,7 +26,7 @@ lockd_precmd()
|
|||||||
local ret
|
local ret
|
||||||
ret=0
|
ret=0
|
||||||
|
|
||||||
if ! checkyesno nfs_server_enable && ! checkyesno nfs_client_enable
|
if ! checkyesno nfs_server_enable && ! checkyesno nfsclient_enable
|
||||||
then
|
then
|
||||||
ret=1
|
ret=1
|
||||||
fi
|
fi
|
||||||
|
@ -15,7 +15,7 @@ name="statd"
|
|||||||
rcvar=rpc_statd_enable
|
rcvar=rpc_statd_enable
|
||||||
command="/usr/sbin/rpc.${name}"
|
command="/usr/sbin/rpc.${name}"
|
||||||
start_precmd='statd_precmd'
|
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
|
status_precmd=$stop_precmd
|
||||||
|
|
||||||
# Make sure that we are either an NFS client or server, and that we get
|
# Make sure that we are either an NFS client or server, and that we get
|
||||||
@ -26,7 +26,7 @@ statd_precmd()
|
|||||||
local ret
|
local ret
|
||||||
ret=0
|
ret=0
|
||||||
|
|
||||||
if ! checkyesno nfs_server_enable && ! checkyesno nfs_client_enable
|
if ! checkyesno nfs_server_enable && ! checkyesno nfsclient_enable
|
||||||
then
|
then
|
||||||
ret=1
|
ret=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user