#
# usage:        intro_cl.sh
#
# abstract:     This Bourne Shell script outputs the CLIENT WITH LICENSE
#		MANAGER introduction. 
#
# note(s):      1. This routine must be called using a . (period)
#
# Copyright (c) 1992-1998 The Mathworks, Inc. All Rights Reserved.
# $Revision: 1.17 $  $Date: 1998/12/24 17:31:36 $
#----------------------------------------------------------------------------
#
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo ''
    title="Welcome to MATLAB  $version  CLIENT WITH LICENSE MANAGER Install"
    . $dir/$center_sh
echo ''
echo 'Be prepared to provide MATLAB system configuration information for the tasks:'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    if [ "$usermode" = "0" ]; then
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    ---------------------------------------------------------------------'
echo '    |   ALWAYS DONE (if license manager is installed) -                 |'
echo '    |  C1. Create scripts in $MATLAB/etc directory                      |'
echo '    |  C3. Create template license.dat file in $MATLAB/etc directory    |'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	if [ "$minimal_install" = "0" ]; then
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    |                                                                   |'
echo '    |   OPTIONAL (asked first) -                                        |'
echo '    |  B1. Create symbolic links to scripts in $MATLAB/bin directory    |'
echo '    |  C2. Build symbolic links /etc/lmboot_TMW5, /etc/lmdown_TMW5      |'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	fi
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    ---------------------------------------------------------------------'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    else
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    ---------------------------------------------------------------------'
echo '    |   ALWAYS DONE (if license manager is installed) -                 |'
echo '    |  C1. Create scripts in $MATLAB/etc directory                      |'
echo '    |  C3. Create template license.dat file in $MATLAB/etc directory    |'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	if [ "$minimal_install" = "0" ]; then
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    |                                                                   |'
echo '    |   OPTIONAL (asked first) -                                        |'
echo '    | *B1. Create symbolic links to scripts in $MATLAB/bin directory    |'
echo '    |                                                                   |'
echo '    |   SKIPPED (you are not superuser) -                               |'
echo '    | +C2. Build symbolic links /etc/lmboot_TMW5, /etc/lmdown_TMW5      |'
echo '    ---------------------------------------------------------------------'
echo "'*' superuser access maybe required. '+' superuser access is required."
echo ''
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	else
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    ---------------------------------------------------------------------'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	fi
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    fi
