# Hey Emacs, this is a -*- shell-script -*- !!!  :-)

# This scripts nobble the 60.nfs monitor event so that it prints out
# the service fail limits for each RPC service.

CTDB_INIT_STYLE="redhat"
PATH="${EVENTSCRIPTS_PATH}:$PATH"

service () { : ; }

update_tickles () { : ; }

ctdb_setup_service_state_dir "nfs"

CTDB_NFS_SKIP_KNFSD_ALIVE_CHECK="no"
CTDB_NFS_SKIP_SHARE_CHECK="yes"

# Ugly but necessary - if this file was touched less then 60 seconds
# ago then this skips some code.
touch "$service_state_dir/update-trigger"

nfs_check_rpc_service ()
{
    echo "$*"
}
