Changeset 2667 in MondoRescue for devel/mrmini
- Timestamp:
- Jun 27, 2010, 3:27:16 PM (14 years ago)
- Location:
- devel/mrmini
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/mrmini/etc/mrmini.conf
r2666 r2667 91 91 92 92 # 93 # type of bootloader. Key is ostype-arch 94 # 95 mr_bootloader rpm-i386 = lilo,grub 96 mr_bootloader rpm-ia64 = elilo 97 mr_bootloader deb-i386 = lilo,grub 98 mr_bootloader deb-ia64 = elilo 99 mr_bootloader ebuild-i386 = lilo,grub 100 mr_bootloader ebuild-ia64 = elilo 101 mr_bootloader tgz-i386 = lilo,grub 102 mr_bootloader tgz-ia64 = elilo 103 mr_bootloader port-i386 = unknown 104 mr_bootloader port-ia64 = unknown 105 mr_bootloader pkg-i386 = unknown 106 107 # 93 108 # Location of the logfile 94 109 # -
devel/mrmini/lib/MondoRescue/Mini/Base.pm
r2666 r2667 20 20 use MondoRescue::Base; 21 21 use MondoRescue::LVM; 22 use MondoRescue::Inventory; 22 23 23 24 # Inherit from the "Exporter" module which handles exporting functions. … … 79 80 pb_log(0,"$ARCH architecture detected\n"); 80 81 pb_log(0,"$ENV{'PBPKG'} called with the following arguments: ".join(" ",@ARGV)."\n"); 81 pb_log( 0,$sep);82 pb_log(1,$sep); 82 83 pb_log(1,"CONFDIR: $mr->{'confdir'}\n"); 83 84 pb_log(1,"SBIN: $mr->{'install_dir'}/sbin\n"); … … 92 93 pb_display_file("$mr->{'confdir'}/mondorescue.conf",$pbLOG); 93 94 } 94 pb_log(0,$sep);95 95 96 96 # 97 97 # Prepare cache dir 98 98 # 99 # To be checked more 99 100 pb_rm_rf("$mr->{'cache_dir'}/*"); 100 101 pb_mkdir_p($mr->{'cache_dir'}); … … 103 104 my $mrmini_deplist = "$mr->{'confdir'}/deplist.d"; 104 105 105 # 106 # LVM setup 107 # 108 my ($lvmver,$lvmcmd) = mr_lvm_check(); 109 110 pb_log(0,"LVM $lvmver command set to $lvmcmd\n"); 111 pb_log(0,$sep); 106 # Full OS inventory 107 mr_inv_os(); 112 108 } -
devel/mrmini/sbin/mrmini
r2666 r2667 159 159 # --------------------------------------------------------------------------- 160 160 161 # Initialize the syntax string 161 # Catch signals 162 $SIG{INT} = \&mr_exit; 163 $SIG{QUIT} = \&mr_exit; 164 $SIG{ABRT} = \&mr_exit; 165 $SIG{KILL} = \&mr_exit; 166 $SIG{TERM} = \&mr_exit; 162 167 163 168 # … … 176 181 ($mr->{'install_dir'},$mr->{'version'}) = mr_conf_get("mr_install_dir","mr_version"); 177 182 183 # Initialize the syntax string 178 184 pb_syntax_init("$ENV{'PBPKG'} Version $mr->{'version'}\n"); 179 185 pb_display_init("text","");
Note:
See TracChangeset
for help on using the changeset viewer.