Changeset 1469 in MondoRescue for branches/stable/mindi/mindi-bkphw


Ignore:
Timestamp:
May 30, 2007, 10:49:52 AM (17 years ago)
Author:
Bruno Cornec
Message:

Improve the bkphw. Works now for conrep and hpacucli (+ doc and install procediures correct)

File:
1 edited

Legend:

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

    r1467 r1469  
    66use strict;
    77use AppConfig;
     8use File::Basename;
    89
    910# Handling Configuration files
     
    1213my $file2 = "$mindiconf/mindi.conf";
    1314my $tool = "";
     15my $tooldir = "";
    1416my $ret = 0;
    1517
     
    3840        next if ($tool =~ /^#/);
    3941        chomp($tool);
     42        $tooldir = dirname($tool);
    4043        if (! (-e $tool)) {
    4144            print "You should install the SmartStart Scripting toolkit tool $tool\nto benefit from mindi's enhanced hardware support\n";
     
    4649        }
    4750        if ($tool =~ /conrep/) {
    48             $ret = system("$tool -s -f".$config->get("mindi_cache_dir")."/conrep.dat");
     51            $ret = system("(cd $tooldir ; $tool -s -f".$config->get("mindi_cache_dir")."/conrep.dat)");
    4952        }
    5053        if ($tool =~ /cpqacuxe/) {
Note: See TracChangeset for help on using the changeset viewer.