diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mrb/showlogs.sh	Thu Jun 17 11:00:32 2010 +0900
@@ -0,0 +1,14 @@
+#!/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"