projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 3.3.0
[debian/amanda]
/
server-src
/
taper.pl
diff --git
a/server-src/taper.pl
b/server-src/taper.pl
index 3b1c0092f9818747fdf29356af297c44c7e84f89..1ee47b21af5030a3ed4b49c548bbcd634f08756c 100644
(file)
--- a/
server-src/taper.pl
+++ b/
server-src/taper.pl
@@
-24,7
+24,7
@@
use warnings;
package main;
use Amanda::Util qw( :constants );
package main;
use Amanda::Util qw( :constants );
-use Amanda::Config qw( :init );
+use Amanda::Config qw( :init
:getconf
);
use Amanda::Logfile qw( :logtype_t log_add $amanda_log_trace_log );
use Amanda::Debug;
use Amanda::Taper::Controller;
use Amanda::Logfile qw( :logtype_t log_add $amanda_log_trace_log );
use Amanda::Debug;
use Amanda::Taper::Controller;
@@
-63,8
+63,10
@@
Amanda::Debug::add_amanda_log_handler($amanda_log_trace_log);
Amanda::Util::finish_setup($RUNNING_AS_DUMPUSER);
Amanda::Util::finish_setup($RUNNING_AS_DUMPUSER);
+my $tlf = Amanda::Config::config_dir_relative(getconf($CNF_TAPELIST));
+my $tl = Amanda::Tapelist->new($tlf);
# transfer control to the Amanda::Taper::Controller class implemented above
# transfer control to the Amanda::Taper::Controller class implemented above
-my $controller = Amanda::Taper::Controller->new();
+my $controller = Amanda::Taper::Controller->new(
tapelist => $tl
);
$controller->start();
Amanda::MainLoop::run();
$controller->start();
Amanda::MainLoop::run();