#!/bin/sh
#* ----------------------------------------------------------------------
#*               Proprietary and Confidential Information
#*
#* This material contains, and is part of a computer software program
#* which is, proprietary and confidential information owned by COMPUTER
#* ASSOCIATES INTERNATIONAL, INC.  The program, including this material,
#* may not be duplicated, disclosed or reproduced in whole or in part for
#* any purpose without the express written authorization of COMPUTER
#* ASSOCIATES. All authorized reproductions must be marked with this
#* legend.
#*
#*                          Copyright (c) 1992-2005
#*             Computer Associates International, Incorporated
#*                          All rights reserved
#*
#* ----------------------------------------------------------------------
#*  SCCS Module Control Stamp
#* ----------------------------------------------------------------------
#
#* "@(#)get_ca_prod_nm	1.8  01/24/05 08:32:47"
#* "Copyright (C) 1992-2005 Computer Associates International, Inc.  All rights reserved."
#

get_ca_prod_name()
{

	[ "$CA_PROD_NAME" != '' ] && return 0


	CA_PROD_NAME="Unicenter NSM"

	lsm -l -O PIF 2>/dev/null| grep UnicenterNSM >/dev/null 2>&1
	rc=$?

	[ "$rc" != "0" ] && CA_PROD_NAME="CA Services" > /dev/null 2>&1

	export CA_PROD_NAME
	return 0
}
