#! /sbin/sh
########
# PRODUCT: InternetSrvcs
# Fileset: INETSVCS-INETD
# preinstall
# @(#) $Revision: 1.2.212.1 $
########
#
#   (c) Copyright Hewlett-Packard Company  1993, 1994
#
#######
#
# Standard initialization
#

set -a				# export all variables
exitval=0			# Anticipate success

UTILS="/usr/lbin/sw/control_utils"
if [[ ! -f $UTILS ]]
then
	echo "ERROR:   Cannot find $UTILS"
	exit 1
fi
. $UTILS

#
#
########
#
# Start of INETSVCS-INETD pre-installation process
#

#       Backup appropriate original Internet Services configuration files, so 
#	that they may be used to help determine administrator changes from
#       release changes during the update.
#

for file in \
	/etc/inetd.conf \
        /etc/networks \
        /etc/services \
        /etc/protocols \
        /etc/rc.config.d/namesvrs \
        /etc/rc.config.d/netdaemons

do
	newconfig_prep $file
done

exit $exitval
