#!/bin/sh


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

SIMULATOR_DIR=.


#
# Get BASEDIR of SUNWtmns1
#

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

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


#
# Start the Agent
#

$TMNS_DIR/tmnscript $SIMULATOR_DIR/script/agent.tcl "$@"


