-
Notifications
You must be signed in to change notification settings - Fork 0
/
start2.sh
executable file
·43 lines (25 loc) · 1002 Bytes
/
start2.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh
python ./sync.py localhost 6000 &
firstpart='\'cd; cd bzflags; ./bin/robotter'
host=nunchucks
secondpart='0 "move_sniper"\' '
first="$echo $firstpart $host 6008 $secondpart"
gnome-terminal -x ssh pike $first &
second="$echo $firstpart $host 6009 $secondpart"
gnome-terminal -x ssh pike $second &
third="$echo $firstpart $host 6010 $secondpart"
gnome-terminal -x ssh pike $third &
fourth="$echo $firstpart $host 6011 $secondpart"
gnome-terminal -x ssh pike $fourth &
fifth="$echo $firstpart $host 6012 $secondpart"
gnome-terminal -x ssh pike $fifth &
sixth="$echo $firstpart $host 6013 $secondpart"
gnome-terminal -x ssh pike $sixth &
seventh="$echo $firstpart $host 6014 $secondpart"
gnome-terminal -x ssh pike $seventh &
eigth="$echo $firstpart $host 6015 $secondpart"
gnome-terminal -x ssh pike $eigth &
ninth="$echo $firstpart $host 6016 $secondpart"
gnome-terminal -x ssh pike $ninth &
tenth="$echo $firstpart $host 6017 $secondpart"
gnome-terminal -x ssh pike $tenth &