Changeset 1784 in MondoRescue for branches/2.2.5/mindi/mindi-bkphw


Ignore:
Timestamp:
Nov 10, 2007, 11:47:07 PM (13 years ago)
Author:
Bruno Cornec
Message:

Fix mindi for Debian x86_64 where /lib64 is a link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi-bkphw

    r1782 r1784  
    2020
    2121mkdir $bkpdir,0755 if (! -d $bkpdir) ;
    22 open(SYSTEM,"dmidecode -s 'system-product-name' |") || die "You need dmidecode for mindi hardware support";
     22open(SYSTEM,"/usr/sbin/dmidecode -s 'system-product-name' |") || die "You need /usr/sbin/dmidecode for mindi hardware support";
    2323my $productname = <SYSTEM>;
    2424close(SYSTEM);
     
    2626chomp($productname);
    2727if ($productname =~ /proliant/i) {
    28     print "Detected an HP Hardware. Nice. Continue to support my job :-)\n";
     28    print "Detected an HP Proliant Server. Nice. Continue to support my job :-)\n";
    2929    print "Activating Proliant support for mindi\n";
    3030    open(PROLIANT,"$confdir/proliant.files") || die "Unable to open $confdir/proliant.files";
     
    7979} else {
    8080    print "No Hardware support for $productname\n";
    81     print "Ask your manufacturer to contribute to the mindi project\n";
     81    print "You may ask your manufacturer to contribute to the mindi project\n";
    8282}
    8383rmdir $bkpdir if (-d $bkpdir) ;
Note: See TracChangeset for help on using the changeset viewer.