Changeset 2648 in MondoRescue for devel/mrmini/sbin/mindi-bkphw


Ignore:
Timestamp:
Jun 13, 2010, 12:36:32 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3873@localhost: bruno | 2010-06-10 12:28:15 +0200

  • Big renaming in progress mindi => mrmini
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/mrmini/sbin/mindi-bkphw

    r2466 r2648  
    3333
    3434mkdir $bkpdir,0755 if (! -d $bkpdir) ;
    35 open(SYSTEM,"$dmidecode->{$pbproj} -s 'system-product-name' 2> /dev/null |") || die "You need a functional $dmidecode->{$pbproj} for mindi hardware support";
     35open(SYSTEM,"$dmidecode->{$pbproj} -s 'system-product-name' 2> /dev/null |") || die "You need a functional $dmidecode->{$pbproj} for mrmini hardware support";
    3636my $productname = <SYSTEM>;
    3737close(SYSTEM);
     
    4242if ($productname =~ /proliant/i) {
    4343    print "Detected a $productname. Nice. Continue to support my job :-)\n";
    44     print "Activating Proliant support for mindi\n";
     44    print "Activating Proliant support for mrmini\n";
    4545    open(PROLIANT,"$confdir/proliant.files") || die "Unable to open $confdir/proliant.files";
    4646    open(TOOLS,"> $bkpdir/../tools.files") || die "Unable to open $bkpdir/../tools.files";
    47     open(SCRIPT,"> $bkpdir/../mindi-rsthw") || die "Unable to open $bkpdir/../mindi-rsthw";
     47    open(SCRIPT,"> $bkpdir/../mrmini-rsthw") || die "Unable to open $bkpdir/../mrmini-rsthw";
    4848    print SCRIPT  << 'EOF';
    4949#!/bin/bash
     
    6565        $tooldir = dirname($tool);
    6666        if (! (-e $tool)) {
    67             print "You should install the SmartStart Scripting toolkit tool $tool\nto benefit from mindi's enhanced hardware support\n";
     67            print "You should install the SmartStart Scripting toolkit tool $tool\nto benefit from mrmini's enhanced hardware support\n";
    6868            print "Get it from http://www.hp.com/servers/sstoolkit\n";
    6969            next;
    7070        } else {
    71             print "Found $tool, activating enhanced HP Proliant support in mindi\n";
     71            print "Found $tool, activating enhanced HP Proliant support in mrmini\n";
    7272            print TOOLS "$tool\n";
    7373        }
     
    100100} else {
    101101    print "\nWARNING: No Hardware support for $productname. Not a big issue, just less features and risks ;-)\n";
    102     print "You may ask your manufacturer to contribute to the mindi project\n";
     102    print "You may ask your manufacturer to contribute to the mrmini project\n";
    103103}
    104104rmdir $bkpdir if (-d $bkpdir) ;
Note: See TracChangeset for help on using the changeset viewer.