#!/bin/ksh
#
# Component: applets
#
# Description:
#  Control script of component applets
#
# Last Updated     : $Author$
# Update Date Time : $Date$
# RCS File Name    : $RCSfile$
# RCS Revision     : $Revision$
# Locked by        : $Locker$
# Symbolic name    : $Name$
# State            : $State$

#--- INIT ------------------------------
#needs $HOME
. $HOME/etc/ctrl.main.shi

[ -f $HOME/etc/setenv.sh ] && . $HOME/etc/setenv.sh

#--- FUNC ------------------------------
do_shell_()
{
  cat <<EndOfInlineData
APPLETS_HOME=$HOME/component/applets
EndOfInlineData

} #do_shell_()

do_start_()
{
} #do_start_()

do_aftersubmit_()
{
} #do_aftersubmit_()

#--- MAIN ------------------------------

check_action_ $1
if [ 0 = $? ]; then
  do_$1_

else
  echo "--- Component applets [ctrl $$]: Bad command: $1" >&2
  exit 1

fi
