diff options
author | Rob Austein <sra@hactrn.net> | 2007-12-17 21:26:03 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-12-17 21:26:03 +0000 |
commit | e18ffa5f2926248cc58503a18de437e8612a650e (patch) | |
tree | 85eeeeb2542c9383faf975539e70319205e44f22 | |
parent | 6b4844efb4af9747e50182945d784ed8a462b02d (diff) |
Automate
svn path=/scripts/irbe-setup.sh; revision=1388
-rw-r--r-- | scripts/irbe-setup.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/irbe-setup.sh b/scripts/irbe-setup.sh new file mode 100644 index 00000000..53387daf --- /dev/null +++ b/scripts/irbe-setup.sh @@ -0,0 +1,18 @@ +#!/bin/sh - +# $Id$ +# +# Run irbe-setup.py, under screen if possible. + +make test + +if test -n "$STY" +then + screen python rpkid.py +else + python rpkid.py >>rpkid.log 2>&1 & rpkid=$! + trap "kill $rpkid" 0 1 2 3 13 15 +fi + +sleep 5 + +exec python irbe-setup.py |