8 |
v= |
v= |
9 |
|
|
10 |
#v='-v' |
#v='-v' |
11 |
limit=500 |
#limit=5000 |
12 |
|
|
13 |
hostname=`hostname -s` |
hostname=`hostname -s` |
14 |
|
|
33 |
|
|
34 |
echo 0 exit | nc localhost $port |
echo 0 exit | nc localhost $port |
35 |
|
|
36 |
$ssh $v $2/srv/Sack/bin/sack.pl --listen $port --limit $limit --offset $offset & |
full="$ssh $v $2/srv/Sack/bin/sack.pl --listen $port --limit $limit --offset $offset" |
37 |
|
if [ ! -z "$DISPLAY" ] ; then |
38 |
|
xterm -T $port -e $full & |
39 |
|
else |
40 |
|
$full & |
41 |
|
fi |
42 |
connect="$connect --connect $port" |
connect="$connect --connect $port" |
43 |
|
|
44 |
port=`expr $port + 1` |
port=`expr $port + 1` |