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/lib/MondoRescue/Mini/Base.pm

    r2668 r3110  
    6262chomp($ARCH);
    6363
    64 pb_conf_add("$mr->{'confdir'}/$ENV{'PBPROJ'}.conf.dist");
    6564($mr->{'boot_size'},$mr->{'boot_cd'},$mr->{'boot_usb'},$mr->{'boot_tape'},$mr->{'kernel'},$mr->{'fstab'}) =  mr_conf_get("mr_boot_size","mr_boot_cd","mr_boot_usb","mr_boot_tape","mr_kernel","mr_fstab");
    6665($mr->{'tape_mods'},$mr->{'scsi_mods'},$mr->{'ide_mods'},$mr->{'pcmcia_mods'},$mr->{'usb_mods'},$mr->{'net_mods'},$mr->{'cdrom_mods'},$mr->{'deny_mods'},$mr->{'force_mods'}) =  mr_conf_get("mr_tape_mods","mr_scsi_mods","mr_ide_mods","mr_pcmcia_mods","mr_usb_mods","mr_net_mods","mr_cdrom_mods","mr_extra_mods","mr_deny_mods","mr_force_mods");
    6766($mr->{'cache_dir'},$mr->{'boot_msg'},$mr->{'burn_cmd'},$mr->{'burn_opt'}) = mr_conf_get("mr_cache_dir","mr_boot_msg","mr_burn_cmd","mr_burn_opt");
    68 
    69 #
    70 # Manage log file
    71 #
    72 $pbLOG = $mr->{'logdesc'};
    73 $pbdebug = 1  if ($pbdebug == -1);
    74 pb_log_init($pbdebug, $pbLOG);
    7567
    7668my $sep = "-----------------------------------------------\n";
     
    8678    pb_log(0,$sep);
    8779    pb_log(0,"Conf file $ENV{'HOME'}/.mondorescuerc\n");
    88     pb_display_file("$ENV{'HOME'}/.mondorescuerc",$pbLOG);
     80    pb_display_file("$ENV{'HOME'}/.mondorescuerc",$mr->{'logdesc'}) if ($pbdebug ge 0);
    8981}
    9082if (-r "$mr->{'confdir'}/mondorescue.conf") {
    9183    pb_log(0,$sep);
    9284    pb_log(0,"Conf file $mr->{'confdir'}/mondorescue.conf\n");
    93     pb_display_file("$mr->{'confdir'}/mondorescue.conf",$pbLOG);
     85    pb_display_file("$mr->{'confdir'}/mondorescue.conf",$mr->{'logdesc'}) if ($pbdebug ge 0);
    9486}
    9587
     
    10597
    10698# Full OS inventory
     99pb_log(0,$sep);
    107100mr_inv_os();
    108101}
Note: See TracChangeset for help on using the changeset viewer.