improve sh/log sh/rcmd etc
[spider.git] / perl / cluster.pl
index f1cf1227ca77b3b55f55fad314c1861b7860af44..0b4e7428fcee2c421d12b348962373e7ba506900 100755 (executable)
@@ -96,6 +96,7 @@ use Route::Node;
 use Route::User;
 use Editable;
 use Mrtg;
+use USDB;
 
 use Data::Dumper;
 use IO::File;
@@ -123,7 +124,7 @@ $reqreg = 0;                                        # 1 = registration required, 2 = deregister people
 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,0));
-$main::build += 8;                             # add an offset to make it bigger than last system
+$main::build += 7;                             # add an offset to make it bigger than last system
 $main::build += $VERSION;
 $main::branch += $BRANCH;
 
@@ -394,7 +395,9 @@ dbg("DXSpider Version $version, build $build started");
 
 # load Prefixes
 dbg("loading prefixes ...");
-Prefix::load();
+my $r = Prefix::load();
+confess $r if $r;
+dbg(USDB::init());
 
 # load band data
 dbg("loading band data ...");
@@ -453,23 +456,29 @@ unless ($is_win) {
 }
 
 # start dupe system
+dbg("Starting Dupe system");
 DXDupe::init();
 
 # read in system messages
+dbg("Read in Messages");
 DXM->init();
 
 # read in command aliases
+dbg("Read in Aliases");
 CmdAlias->init();
 
 # initialise the Geomagnetic data engine
+dbg("Start WWV");
 Geomag->init();
+dbg("Start WCY");
 WCY->init();
 
 # initial the Spot stuff
+dbg("Starting DX Spot system");
 Spot->init();
 
 # initialise the protocol engine
-dbg("reading in duplicate spot and WWV info ...");
+dbg("Start Protocol Engines ...");
 DXProt->init();
 QXProt->init();