diff scripts/freeDiameter-trig.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 0e343724004b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/freeDiameter-trig.sh	Thu Jun 17 11:00:32 2010 +0900
@@ -0,0 +1,8 @@
+#!/bin/bash -x
+
+PID=`ps --no-heading -C freeDiameterd -o '%p'`;
+if [ "$1" = "loop" ];
+then while (true); do sleep 10; kill -USR1 $PID; done;
+else kill -USR1 $PID;
+fi
+
"Welcome to our mercurial repository"