diff options
author | mtm <mtm@FreeBSD.org> | 2008-06-23 04:05:39 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2008-06-23 04:05:39 +0000 |
commit | 8633de4dbc2808c638ec9e4a9ea67f31071fdef1 (patch) | |
tree | e39114e7f56fa92ecea5df1c166346895e0fb270 /etc/rc.d/lockd | |
parent | e01154eb3a51571240a8d6b08dd06f9618a1bb37 (diff) | |
download | FreeBSD-src-8633de4dbc2808c638ec9e4a9ea67f31071fdef1.zip FreeBSD-src-8633de4dbc2808c638ec9e4a9ea67f31071fdef1.tar.gz |
Argh! s/nfs_client_enable/nfsclient_enable/g
Diffstat (limited to 'etc/rc.d/lockd')
-rw-r--r-- | etc/rc.d/lockd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/lockd b/etc/rc.d/lockd index 809b2ff..6dc5912 100644 --- a/etc/rc.d/lockd +++ b/etc/rc.d/lockd @@ -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 |