#! /bin/sh
#	@(#)postremove	1.9 94/02/15 

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

RTVC_ALIAS="SUNW,rtvc"

if [ "$BASEDIR" = "/" ]
then
	#
	# We're modifying the running system
	#
	if /usr/sbin/prtconf -vp | /bin/fgrep -s "$RTVC_ALIAS"
	then
	        /usr/sbin/rem_drv rtvc >/dev/null 2>&1
	fi
rm -f /dev/rtvc? /dev/rtvcctl?
fi

touch ${BASEDIR}/reconfigure

exit 0
