#!/bin/sh
#############################################################################
# Copyright 2005 Sun Microsystems Inc.  All rights reserved.
# Use is subject to license terms.
#
# Name: start
# Description: start script for SUNWcctpx pkg.
#
# pragma ident	"$Id: start.sh,v 1.1.2.2.8.1 2005/07/21 20:36:28 rc5273 Exp $"
##############################################################################

##############################################################################
#  Function of the start script
#  1.  Use the init.d control script to start the transport proxy process.
##############################################################################

#
# control logging method
#
log=echo
#log="logger -pdaemon.err"

exec_script=cc-transport

if [ ! -f /etc/init.d/$exec_script ] ; then
    $log ERROR : CNS Transport is not properly enabled.  Cannot find /etc/init.d/$exec_script
    exit 1
else
    /etc/init.d/$exec_script start
fi

