X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fupdate_sysop.pl;h=2fccbb5aee90c8aa2f46fa5c5412b933150b187d;hb=ab811a0c902225075a9bd69749f65594079433a9;hp=af128c946238ae5c8a30f134cb1466e3762911d3;hpb=75b16c6079349ca89bd37a8ee28f368c421f06ea;p=spider.git diff --git a/perl/update_sysop.pl b/perl/update_sysop.pl index af128c94..2fccbb5a 100755 --- a/perl/update_sysop.pl +++ b/perl/update_sysop.pl @@ -10,7 +10,7 @@ # # Copyright (c) 1998 Dirk Koopman G1TLH # -# $Id$ +# # # make sure that modules are searched in the order local then perl @@ -29,7 +29,7 @@ sub create_it { my $ref; - while ($ref = DXUser->get(uc $mycall)) { + while ($ref = DXUser::get(uc $mycall)) { print "old call $mycall deleted\n"; $ref->del(); } @@ -55,7 +55,7 @@ sub create_it print "new call $mycall added\n"; # now do one for the alias - while ($ref = DXUser->get($myalias)) { + while ($ref = DXUser::get($myalias)) { print "old call $myalias deleted\n"; $ref->del(); } @@ -75,6 +75,7 @@ sub create_it $self->{dxok} = 1; $self->{annok} = 1; $self->{lang} = 'en'; + $self->{group} = [qw(local #9000)]; # write it away $self->close(); @@ -82,7 +83,7 @@ sub create_it } -$lockfn = "$root/perl/cluster.lck"; # lock file name +$lockfn = "$root/local/cluster.lck"; # lock file name if (-e $lockfn) { open(CLLOCK, "$lockfn") or die "Can't open Lockfile ($lockfn) $!"; my $pid = ;