aboutsummaryrefslogtreecommitdiff
path: root/scripts/irbe-setup.sh
blob: 53387daf35f3f28978ce5660bb963d97782eee9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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