#! /sbin/sh
########
# Product: InternetSrvcs
# Fileset: INETSVCS-INETD
# checkinstall
# @(#) $Revision: 1.2.212.1 $
########
#
# (c) Copyright Hewlett-Packard Company, 1993
#
#######$

set -a				# Export all variables

SUCCESS=0                       # SD expected return codes
WARNING=2
FAILURE=1

exitval=$SUCCESS		# Preset to everything is alright.

PATH=${SW_PATH}:${SW_ROOT_DIRECTORY}usr/lbin/sw:/bin
UTILS=/usr/lbin/sw/control_utils
if [[ ! -f $UTILS ]]
then
    print "ERROR:   Cannot find the sh functions library $UTILS."
    exit $FAILURE
fi

. $UTILS

set_env		# sets ARCH, PATH, ROOT, PRODUCT & FILESET

#---------------------------------------------------------------------------
#  Do other tasks, if necessary.  When the checkinstall script is run 
#  on the 9.x system, the filesystem layout is not converted yet.  In 
#  order to make commands used in the checkinstall script run, SD will 
#  set SW_PATH with appropriate searching paths.  Use the basenames of 
#  the commands in your checkinstall script.  For instance, use grep 
#  instead of /usr/bin/grep.
#---------------------------------------------------------------------------

transition_check $exitval

exit $exitval 
