#!/bin/sh

#
#ident  "@(#)run_it	1.4 98/04/28 Copyright SMI"
#
# Copyright (c) 04/28/98 by Sun Microsystems, Inc. 
# All Rights Reserved
#

SIMULATOR_DIR=.


#
# Get BASEDIR of SUNWtcl
#

BASEDIR=`pkgparam SUNWtcl BASEDIR 2> /dev/null`

# pkg not installed
# Set default. Maybe the dir is nfs mounted
if [ -z "${BASEDIR}" ]
then
        BASEDIR=/opt
fi
TCL_DIR="$BASEDIR/SUNWtcl/7.5/bin"


#
# Start the Workload Simulator
#

$TCL_DIR/wish4.1 $SIMULATOR_DIR/script/main.tcl &

