2 # script to manage nfs in a clustered environment
4 [ -n "$CTDB_BASE" ] || \
5 CTDB_BASE=$(d=$(dirname "$0") ; cd -P "$d" ; dirname "$PWD")
7 . "${CTDB_BASE}/functions"
11 load_script_options "service" "60.nfs"
13 ctdb_setup_state_dir "service" "$service_name"
15 ######################################################################
22 nfs_callout "${_event}-pre" "$@"
25 ######################################################################
27 # script_state_dir set by ctdb_setup_state_dir()
28 # shellcheck disable=SC2154
29 nfs_callout_init "$script_state_dir"
31 [ "$CTDB_MANAGES_NFS" = "yes" ] || exit 0