view mrb/showlogs.sh @ 0:9e5a3c884de6

Initial import of the virtual testbed.
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 17 Jun 2010 11:00:32 +0900
parents
children
line wrap: on
line source

#!/bin/bash -x

if test x`hostname --fqdn` != xmorbier.koganei.wide.ad.jp; 
then if test x`hostname --fqdn` != xmorbier; 
then echo "Can be executed only on Morbier";
exit 2;
fi;
fi;


for LAT in `ls -1 /home/thedoc/testbed.aaa/logs/LATEST*`;
do nedit /home/thedoc/testbed.aaa/logs/`cat $LAT` &
done

"Welcome to our mercurial repository"