Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/mountcritremote
Show All 21 Lines | |||||
# skips nfs in the following block (for "other network filesystems") can | # skips nfs in the following block (for "other network filesystems") can | ||||
# be removed. | # be removed. | ||||
# | # | ||||
mountcritremote_precmd() | mountcritremote_precmd() | ||||
{ | { | ||||
case "`mount -d -a -t nfs 2> /dev/null`" in | case "`mount -d -a -t nfs 2> /dev/null`" in | ||||
*mount_nfs*) | *mount_nfs*) | ||||
# Handle absent nfs client support | # Handle absent nfs client support | ||||
load_kld -m nfs nfscl || return 1 | load_kld nfscl || return 1 | ||||
;; | ;; | ||||
esac | esac | ||||
return 0 | return 0 | ||||
} | } | ||||
mountcritremote_start() | mountcritremote_start() | ||||
{ | { | ||||
local mounted_remote_filesystem=false | local mounted_remote_filesystem=false | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |