#! /usr/bin/ksh
#
#pragma	ident	"@(#)rac_udlm_lib.ksh 1.3	03/01/10 SMI"
#
# Copyright 2002-2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
############################################################
#
# Library for SUNW.rac_udlm RT callback methods
#
############################################################

initialize()
{
	SYSLOG_TAG="SC[SUNW.rac_udlm.${MYNAME:-}]"
	return 0

}

sync_file()
{
	# Synchronize UDLM configuration file

	template=/usr/cluster/lib/ucmm/rt/rac_udlm/etc/udlm.conf.template
	conf_file=/opt/SUNWudlm/etc/udlm.conf
	sync_conf_file "${MY_RS}" ${template} ${conf_file}

	if [ $? -eq 0 ]; then
		ucmmd_sighup
	fi

	return 0
}

