#!/bin/sh 
#
#ident  "@(#)prebackout.src 1.2     02/01/23 SMI"
#
# Copyright (c) 2002, by Sun Microsystems, Inc.
# All rights reserved.
#
#
# May have been installed as part of a jumpstart, so check
# the install root

UT_ROOTDIR=${2:-/}

UT_BASEDIR=`pkginfo -R ${UT_ROOTDIR} -r SUNWuto`
if [ ! -d /var/tmp/${PatchNum} ] ; then
	mkdir -p /var/tmp/${PatchNum}
fi
/bin/cp $UT_BASEDIR/SUNWut/sbin/utfwadm /var/tmp/${PatchNum}/utfwadm

/usr/bin/echo "This s a temporary directory created during removal \
of patch 111891-02( or greater). It can be deleted if it still presists \
after patchrm. " >/var/tmp/${PatchNum}/README
