postinstall revision 59ac0c1669407488b67ae9e273667a340dccc611
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
#
# install the UltraSPARC-T2 Crypto Provider device driver
#
export PATH
# Add hardware provider section for the n2cp driver
#
#
if [ ! -f "$kcfconf" ]
then
echo "$0: ERROR - $kcfconf doesn't exist"
exit 2
fi
#
# If the package has been already installed, remove old entries
#
start=0
end=0
echo "$0: $kcfconf may be corrupted and was not updated."
exit 2
fi
then
else
fi
#
# Append the delimiters for this package
#
#
# Install the updated config file and clean up the tmp file
#
then
fi
#
# All done, if any of the steps above fail, report the error
#
then
echo "$0: ERROR - failed to update $kcfconf."
exit 2
fi
NAMEMAJOR="${BASEDIR}/etc/name_to_major"
if [ "${BASEDIR:=/}" = "/" ]
then
else
fi
if [ $? -ne 0 ]
then
fi
exit 0