Changeset 2538 in MondoRescue for devel/mr/lib


Ignore:
Timestamp:
Jan 9, 2010, 4:40:44 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3572@localhost: bruno | 2010-01-07 23:38:36 +0100
Reorg of files begining to start working on LVM low level fundtions and scripts

Location:
devel/mr/lib/MondoRescue
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • devel/mr/lib/MondoRescue/Base.pm

    r2149 r2538  
    2828
    2929our @ISA = qw(Exporter);
    30 our @EXPORT = qw(mr_exit);
     30our @EXPORT = qw(mr_init mr_exit);
    3131
    3232=pod
     
    4444=over 4
    4545
     46=item B<mr_init>
     47
     48This function initialize MondoRescue, point to the right conf files, setup stuff
     49It takes 1 parameter, the message to print if needed
     50
     51=cut
     52
     53sub mr_exit {
     54
     55my $msg = shift || "";
     56
     57if (defined $msg) {
     58    pb_log($pbdebug,$msg);
     59}
     60
     61pb_conf_init();
     62}
    4663=item B<mr_exit>
    4764
Note: See TracChangeset for help on using the changeset viewer.