summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/mountcritremote
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2002-10-12 10:31:31 +0000
committerschweikh <schweikh@FreeBSD.org>2002-10-12 10:31:31 +0000
commitb7d872536535fe8afd8ad5080a504fa41a77c095 (patch)
treec750ff3f496fe6079fff457037e64eba1f20e162 /etc/rc.d/mountcritremote
parentc60d03847fad771361b5a5590015bfe65a1b3023 (diff)
downloadFreeBSD-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/mountcritremote')
-rwxr-xr-xetc/rc.d/mountcritremote6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/mountcritremote b/etc/rc.d/mountcritremote
index 7438cad..1fbb389 100755
--- a/etc/rc.d/mountcritremote
+++ b/etc/rc.d/mountcritremote
@@ -35,7 +35,7 @@ mountcritremote_precmd()
case "`mount -d -a -t nfs 2> /dev/null`" in
*mount_nfs*)
# Handle absent nfs client support
- if ! sysctl vfs.nfs >/dev/null 2>&1 ; then
+ if ! sysctl vfs.nfs >/dev/null 2>&1; then
kldload nfsclient || warn 'nfs mount ' \
'requested, but no nfs client in kernel' \
return 1
@@ -55,7 +55,7 @@ mountcritremote_start()
mount -a -t nfs
echo '.'
- # Mount other network filesystems if present in /etc/fstab
+ # Mount other network filesystems if present in /etc/fstab.
for i in ${networkfs_types}; do
fstype=${i%:*}
fsdecr=${i#*:}
@@ -71,7 +71,7 @@ mountcritremote_start()
esac
done
- # Cleanup /var again just in case it's a network mount
+ # Cleanup /var again just in case it's a network mount.
/etc/rc.d/cleanvar start
rm -f /var/run/clean_var /var/spool/lock/clean_var
;;
OpenPOWER on IntegriCloud