#!/bin/sh
#

if [ "$ROOTDIR" != "" ]; then
	FILE=${ROOTDIR}/etc/rcS.d/S41bootcluster.sh
	REMOVEF="removef -R ${ROOTDIR}"
else
	FILE=/etc/rcS.d/S41bootcluster.sh
	REMOVEF="removef"
fi
# Remove the old hardlink
echo      "The following files are no longer part of this SUNWscr package and are being removed."

${REMOVEF} SUNWscr $FILE 
echo "$FILE"
rm -f $FILE
${REMOVEF} -f SUNWscr || exit 2

exit 0
