#!/bin/sh
# STTA Rev. 1.3 Copyright (c) 2001-2003 Jesús Pérez Lorenzo  --- license GNU GPL 
# stta: (@#) 1.3pre1049295437- [2003_4_02_165717]
# Runner to call TTA Perl ttasess

USAGE="ttasess.sh ";

TTAsessPath=`cat /etc/webmin/miniserv.conf | egrep "^root=" | sed 's/root=//g'`/stta
TTAsessCMD=ttasess.pl


# move to TTAsessPath otherwise libs.pl will be not loaded

cd $TTAsessPath 

exec ./$TTAsessCMD $* 
