From 3299a5ecf4b1bc16039b5300ce78480bc0e9a999 Mon Sep 17 00:00:00 2001 From: minima Date: Sun, 13 Oct 2002 11:21:49 +0000 Subject: [PATCH] add database load command --- cmd/load/usdb.pl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cmd/load/usdb.pl 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); -- 2.43.0