X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=a735ca9a16b105d4cd4409f40c7c9de7d800b743;hb=35432a9f25350b9a5db513efbe248b61176b0684;hp=516e7cb1eb8f57ae33478d313e97ee9627df3245;hpb=765add8acca099e69f2b2cde2bb58a48a00852d3;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index 516e7cb1..a735ca9a 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -67,6 +67,7 @@ use DXBearing; use DXDb; use DXHash; use DXDupe; +use Script; use Prefix; use Spot; use Bands; @@ -110,7 +111,7 @@ $starttime = 0; # the starting time of the cluster use vars qw($VERSION $BRANCH $build $branch); $VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); $BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0; -$main::build += 15; # add an offset to make it bigger than last system +$main::build += 14; # add an offset to make it bigger than last system $main::build += $VERSION; $main::branch += $BRANCH; @@ -452,6 +453,8 @@ DXDebug::dbgclean(); # this, such as it is, is the main loop! dbg("orft we jolly well go ..."); +my $script = new Script "startup"; +$script->run($DXProt::me) if $script; #open(DB::OUT, "|tee /tmp/aa");