/[Sack]/trunk/bin/cloud.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/cloud.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 68 by dpavlin, Fri Sep 25 14:01:48 2009 UTC revision 69 by dpavlin, Fri Sep 25 16:29:38 2009 UTC
# Line 8  connect= Line 8  connect=
8  v=  v=
9    
10  #v='-v'  #v='-v'
11  limit=500  #limit=5000
12    
13  hostname=`hostname -s`  hostname=`hostname -s`
14    
# Line 33  function node { Line 33  function node {
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`

Legend:
Removed from v.68  
changed lines
  Added in v.69

  ViewVC Help
Powered by ViewVC 1.1.26