#! /usr/bin/ksh
#
#pragma	ident	"@(#)rac_hwraid_lib.ksh 1.4	03/01/19 SMI"
#
# Copyright 2002-2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
############################################################
#
# Library for SUNW.rac_hwraid resource type
#
############################################################

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

}

sync_file()
{

	# Synchronize configuration file

	template=/usr/cluster/lib/ucmm/rt/rac_hwraid/etc/hwraid.conf.template
	conf_file=/usr/cluster/lib/ucmm/rt/rac_hwraid/etc/hwraid.conf
	sync_conf_file "${MY_RS}" ${template} ${conf_file}

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

	return 0
}

