diff options
| author | Jens Schweikhardt <schweikh@FreeBSD.org> | 2002-10-12 10:31:31 +0000 |
|---|---|---|
| committer | Jens Schweikhardt <schweikh@FreeBSD.org> | 2002-10-12 10:31:31 +0000 |
| commit | 143085107b0897e271fa76d7ac3316fb25aacf07 (patch) | |
| tree | c750ff3f496fe6079fff457037e64eba1f20e162 /etc/rc.d/mountcritremote | |
| parent | de77341b0d11974386a24a3a9bcc2d5457c5f73e (diff) | |
Notes
Diffstat (limited to 'etc/rc.d/mountcritremote')
| -rwxr-xr-x | etc/rc.d/mountcritremote | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/mountcritremote b/etc/rc.d/mountcritremote index 7438cad7cf38..1fbb3896b0e8 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 ;; |
