#
# restore all hard links the undo mechanism trashed
#
PKG_INSTALL_ROOT=$ROOTDIR export PKG_INSTALL_ROOT
if [ -f $ROOTDIR/etc/init.d/lic_mgr ]; then
	rm -f $ROOTDIR/etc/rc2.d/S85lmgrd
	removef SUNWlicsw /etc/rc2.d/S85lmgrd >/dev/null
	removef -f SUNWlicsw
	installf SUNWlicsw /etc/rc2.d/S85lmgrd=/etc/init.d/lic_mgr l
	installf -f SUNWlicsw >/dev/null 2>&1
	if [ ! -f $ROOTDIR/etc/rc2.d/S85lmgrd ]; then
		ln $ROOTDIR/etc/init.d/lic_mgr $ROOTDIR/etc/rc2.d/S85lmgrd
	fi
fi
