#!/bin/sh # Execute plusieurs scenario if [ "$#" != 1 ] ; then echo playbatch repertoire >&2 else for file in $1/*.conf do if [ -f $file ] ; then SERVER= PORT= TOKENSERV= REPORTSERV= REPORTPORT= FILE= . $file TOKENOPT= REPORTOPT= if [ "$TOKENSERV" != "" ] ; then TOKENOPT="--tokenserv $TOKENSERV" fi if [ "$REPORTSERV" != "" ] ; then REPORTOPT="--reportserv $REPORTSERV --reportport $REPORTPORT" fi uniplayback --xml --server $SERVER --port $PORT $TOKENOPT $REPORTOPT $FILE fi done fi