X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;fp=perl%2Fcluster.pl;h=d4e9981a2e3df54c649d2dbd806139041ef7f316;hb=b06fd1d447d5411d8d441e807f93efa897b68aaf;hp=4c0f374c3eca9bfc54304b4826bef353bb851bab;hpb=c83b1ca22765fc07e5adcdc8dac24cbd066c9b95;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index 4c0f374c..d4e9981a 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -664,19 +664,26 @@ sub setup_start dbg("Start Protocol Engines ..."); DXProt->init(); + # read startup script + my $script = new Script "startup"; + $script->run($main::me) if $script; + + # put in a DXCluster node for us here so we can add users and take them away + $routeroot = Route::Node->new($mycall, $version*100+5300, Route::here($main::me->here)|Route::conf($main::me->conf)); + $routeroot->do_pc9x(1); + $routeroot->via_pc92(1); + # make sure that there is a routing OUTPUT node default file #unless (Filter::read_in('route', 'node_default', 0)) { # my $dxcc = $main::me->dxcc; # $Route::filterdef->cmd($main::me, 'route', 'accept', "node_default call $mycall" ); #} - my $script = new Script "startup"; - $script->run($main::me) if $script; - # initial the Spot stuff dbg("Starting DX Spot system"); - Spot->init(); # - + Spot->init(); + + # read in any existing message headers and clean out old crap dbg("reading existing message headers ..."); DXMsg->init(); DXMsg::clean_old();