#!/bin/sh

TUXDIR=$1
APPDIR=$2
TUXCONFIG=$3
cmd=$4
LD_LIBRARY_PATH=$APPDIR:$TUXDIR/lib:/lib:/usr/lib:$LD_LIBRARY_PATH
PATH=$APPDIR:$TUXDIR/bin:/bin:$PATH
export LD_LIBRARY_PATH TUXCONFIG TUXDIR WEBJAVADIR PATH APPDIR
echo $cmd | tmadmin -r 
