#!/bin/sh
#
#ident  "@(#)preremove 1.1     00/08/13 SMI"
#
# Copyright (c) 2000 by Sun Microsystems, Inc.
# All rights reserved.
#
#       remove the /etc/rc2.d/S99rsc
#

PATH="/bin:/usr/bin:/usr/sbin:${PATH}"
export PATH

# check if the S99rsc file exists
if [ -f $BASEDIR/etc/rc2.d/S99rsc ]; then

	rm -f $BASEDIR/etc/rc2.d/S99rsc
	rm -f $BASEDIR/etc/init.d/rsc
fi

exit 0

