diff options
author | schweikh <schweikh@FreeBSD.org> | 2002-10-12 10:31:31 +0000 |
---|---|---|
committer | schweikh <schweikh@FreeBSD.org> | 2002-10-12 10:31:31 +0000 |
commit | b7d872536535fe8afd8ad5080a504fa41a77c095 (patch) | |
tree | c750ff3f496fe6079fff457037e64eba1f20e162 /etc/rc.d/mountd | |
parent | c60d03847fad771361b5a5590015bfe65a1b3023 (diff) | |
download | FreeBSD-src-b7d872536535fe8afd8ad5080a504fa41a77c095.zip FreeBSD-src-b7d872536535fe8afd8ad5080a504fa41a77c095.tar.gz |
Fix style bugs:
* Space -> tabs conversion.
* Removed blanks before semicolon in "if ... ; then".
* Proper indentation of misindented lines.
* Put a full stop after some comments.
* Removed whitespace at end of line.
Approved by: silence from gordon
Diffstat (limited to 'etc/rc.d/mountd')
-rwxr-xr-x | etc/rc.d/mountd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/mountd b/etc/rc.d/mountd index 0f62548..eb8806b 100755 --- a/etc/rc.d/mountd +++ b/etc/rc.d/mountd @@ -23,7 +23,7 @@ mountd_precmd() FreeBSD) if ! checkyesno rpcbind_enable && \ ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1 - then + then force_depend rpcbind || return 1 fi @@ -31,12 +31,12 @@ mountd_precmd() # case ${nfs_server_enable} in [Yy][Ee][Ss]) - if checkyesno weak_mountd_authentication ; then + if checkyesno weak_mountd_authentication; then mountd_flags="${mountd_flags} -n" fi ;; *) - if checkyesno mountd_enable ; then + if checkyesno mountd_enable; then checkyesno weak_mountd_authentication && mountd_flags="-n" fi esac |