diff options
Diffstat (limited to 'etc/rc.d/statd')
-rw-r--r-- | etc/rc.d/statd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/statd b/etc/rc.d/statd index 39a0a96..bdb4095 100644 --- a/etc/rc.d/statd +++ b/etc/rc.d/statd @@ -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 |