Changeset 2891 in MondoRescue for branches/2.2.9/mindi/mindi-bkphw


Ignore:
Timestamp:
Oct 13, 2011, 7:18:35 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Improve again ProLiant HW support, by adding references to the yet to come SSSTK rpm so that conrep is called at its future right place.
File:
1 edited

Legend:

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

    r2884 r2891  
    7171        }
    7272        if ($tool =~ /\/conrep$/) {
    73             if (! -f "/usr/share/conrep/conrep.xml") {
     73            # From the package
     74            if (! -f "/opt/hp/hp-scripting-tools/etc/conrep.xml") {
     75                $ret = system("$tool -s -x /opt/hp/hp-scripting-tools/etc/conrep.xml -f$bkpdir/conrep.dat");
     76            # From the SSSTK
     77            } elsif (! -f "/usr/share/conrep/conrep.xml") {
     78                $ret = system("$tool -s -x /usr/share/conrep/conrep.xml -f$bkpdir/conrep.dat");
    7479            } else {
    75                 $ret = system("$tool -s -x /usr/share/conrep/conrep.xml -f$bkpdir/conrep.dat");
    76                 print SCRIPT "$tool -l -f$locbkpdir/conrep.dat\n";
    77                 print TOOLS "$tool.xml\n";
     80                next;
    7881            }
     82            print SCRIPT "$tool -l -f$locbkpdir/conrep.dat\n";
     83            print TOOLS "$tool.xml\n";
    7984        }
    8085        if ($tool =~ /\/hpacuscripting$/) {
Note: See TracChangeset for help on using the changeset viewer.