Changeset 3529


Ignore:
Timestamp:
Mar 9, 2016, 5:28:55 PM (19 months ago)
Author:
bruno
Message:

Coherent information printing messages with mindi (INFO: tag)

File:
1 edited

Legend:

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

    r3143 r3529  
    8686
    8787if ($productname =~ /proliant/i) {
    88     print "Detected a $productname. Nice. Continue to support my job :-)\n";
    89     print "Activating ProLiant support for mindi\n";
    90     print "You can install SDR packages to benefit from mindi's enhanced ProLiant support\n";
    91     print "Get them from http://downloads.linux.hp.com/SDR/\n";
     88    print "INFO: Detected a $productname. Nice. Continue to support my job :-)\n";
     89    print "INFO: Activating ProLiant support for mindi\n";
     90    print "INFO: You can install SDR packages to benefit from mindi's enhanced ProLiant support\n";
     91    print "INFO: Get them from http://downloads.linux.hp.com/SDR/\n";
    9292    open(PROLIANT,"$confdir/deplist.d/ProLiant.conf") || die "Unable to open $confdir/deplist.d/ProLiant.conf";
    9393    # generate a list of what need to be put on the backup media
     
    117117            next;
    118118        } else {
    119             print "Found $tool, activating enhanced HP ProLiant support in mindi\n";
     119            print "INFO: Found $tool, activating enhanced HP ProLiant support in mindi\n";
    120120            print TOOLS "$tool\n";
    121121        }
     
    155155        }
    156156        if ($tool =~ /\.scexe$/) {
    157             print "Found $tool, that firmware will be applied at restore time on your HP ProLiant\n";
     157            print "INFO: Found $tool, that firmware will be applied at restore time on your HP ProLiant\n";
    158158            print SCRIPT "./$tool -s\n";
    159159        }
    160160        if ($tool =~ /\/hp-fm/) {
    161             print "Found $tool, firmware will be upgraded at restore time on your HP ProLiant\n";
     161            print "INFO: Found $tool, firmware will be upgraded at restore time on your HP ProLiant\n";
    162162            print SCRIPT "./$tool upgrade\n";
    163163        }
     
    169169        }
    170170        if ($ret != 0) {
    171             print "$tool returned an error. Hardware support may not be complete\n";
     171            print "ERROR: Hardware support may not be complete as per $tool exit code\n";
    172172        }
    173173    }
Note: See TracChangeset for help on using the changeset viewer.