Lines 24-30
Link Here
|
24 |
mountcritremote_precmd() |
24 |
mountcritremote_precmd() |
25 |
{ |
25 |
{ |
26 |
case "`mount -d -a -t nfs 2> /dev/null`" in |
26 |
case "`mount -d -a -t nfs 2> /dev/null`" in |
27 |
*mount_nfs*) |
27 |
'') |
|
|
28 |
;; |
29 |
*) |
28 |
# Handle absent nfs client support |
30 |
# Handle absent nfs client support |
29 |
load_kld -m nfs nfscl || return 1 |
31 |
load_kld -m nfs nfscl || return 1 |
30 |
;; |
32 |
;; |
Lines 36-42
Link Here
|
36 |
{ |
38 |
{ |
37 |
# Mount nfs filesystems. |
39 |
# Mount nfs filesystems. |
38 |
# |
40 |
# |
39 |
case "`/sbin/mount -d -a -t nfs`" in |
41 |
case "`mount -d -a -t nfs`" in |
40 |
'') |
42 |
'') |
41 |
;; |
43 |
;; |
42 |
*) |
44 |
*) |
Lines 62-68
Link Here
|
62 |
[ "${fstype}" = "nfs" ] && continue |
64 |
[ "${fstype}" = "nfs" ] && continue |
63 |
|
65 |
|
64 |
case "`mount -d -a -t ${fstype}`" in |
66 |
case "`mount -d -a -t ${fstype}`" in |
65 |
*mount_${fstype}*) |
67 |
'') |
|
|
68 |
;; |
69 |
*) |
66 |
echo -n "Mounting ${fsdecr} file systems:" |
70 |
echo -n "Mounting ${fsdecr} file systems:" |
67 |
mount -a -t ${fstype} |
71 |
mount -a -t ${fstype} |
68 |
echo '.' |
72 |
echo '.' |