Ignore:
Timestamp:
May 5, 2013, 4:48:59 AM (6 years ago)
Author:
bruno
Message:
  • Store a status for devel ersion of mondo
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/mrmini/sbin/mrmini

    r2667 r3110  
    169169# Global variables
    170170#
    171 my $proj;
    172 ($mr->{'confdir'},$proj) = mr_dynconf_init();
    173 my @date = pb_get_date();
    174 $mr->{'start_date'} = strftime("%Y-%m-%d %H:%M:%S", @date);
    175 
    176 $ENV{'PBPROJ'} = $proj;
     171mr_init();
    177172$ENV{'PBPKG'} = "mrmini";
    178173
    179174# Adds conf files in order
    180 pb_conf_add("$mr->{'confdir'}/mondorescue.conf.dist","$mr->{'confdir'}/mondorescue.conf");
    181175($mr->{'install_dir'},$mr->{'version'}) =  mr_conf_get("mr_install_dir","mr_version");
    182176
     
    193187}
    194188if (defined $opts{'p'}) {
    195     pb_display("$ENV{$opts{'p'}}\n");
     189    print("$ENV{$opts{'p'}}\n");
    196190    exit(0);
    197191}
     
    230224}
    231225
    232 #
    233 # Temp dir
    234 #
    235 pb_temp_init();
     226pb_log_init($pbdebug,$mr->{'logdesc'});
    236227mr_mini_main();
    237228mr_exit(0);
Note: See TracChangeset for help on using the changeset viewer.