X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fload%2Fusdb.pl;fp=cmd%2Fload%2Fusdb.pl;h=2ca209a3be80b997050db5a517f609854b3a65bc;hb=3299a5ecf4b1bc16039b5300ce78480bc0e9a999;hp=0000000000000000000000000000000000000000;hpb=08912ec52dee25bbe00aef10387e1822dcd574bc;p=spider.git diff --git a/cmd/load/usdb.pl b/cmd/load/usdb.pl new file mode 100644 index 00000000..2ca209a3 --- /dev/null +++ b/cmd/load/usdb.pl @@ -0,0 +1,20 @@ +# +# reload the usdb file +# +# Be warned, if this is the full database the size of your image will +# increase by at least 20Mb and all activity will stop for several +# minutes +# +# So there. +# +# Copyright (c) 2002 Dirk Koopman G1TLH +# +# $Id$ +# + +my $self = shift; +my @out; +return (1, $self->msg('e5')) if $self->priv < 9; +push @out, (USDB::load()); +@out = ($self->msg('ok')) unless @out; +return (1, @out);