#!/bin/sh
#
# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident	"@(#)postpatch	1.0	01/10/16 SMI"
#
# postpatch script for Solaris 9 montecarlo ttymux point patch 113533
#

# Only run this script if this is a Netra ct machine.

if [ `uname -i` != "SUNW,UltraSPARC-IIi-Netract" ] 
then
        exit 0
fi

# Determine if installation is via jumpstart

echo $BASEDIR | grep '^\/a' > /dev/null
if [ $? = 0 ]
    then
        JUMPSTART=1
    else
        JUMPSTART=0
fi

if [ "$JUMPSTART" = 1 ]
then
        RDIR="$BASEDIR"
else
        RDIR="$ROOTDIR"
fi

if [ -f $RDIR/platform/SUNW,UltraSPARC-IIi-Netract/kernel/misc/sparcv9/pcicfg ] ; then
	rm  $RDIR/platform/SUNW,UltraSPARC-IIi-Netract/kernel/misc/sparcv9/pcicfg 
fi

exit 0
