Changeset 1469 in MondoRescue for branches/stable/mindi/mindi-bkphw
- Timestamp:
- May 30, 2007, 10:49:52 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi-bkphw
r1467 r1469 6 6 use strict; 7 7 use AppConfig; 8 use File::Basename; 8 9 9 10 # Handling Configuration files … … 12 13 my $file2 = "$mindiconf/mindi.conf"; 13 14 my $tool = ""; 15 my $tooldir = ""; 14 16 my $ret = 0; 15 17 … … 38 40 next if ($tool =~ /^#/); 39 41 chomp($tool); 42 $tooldir = dirname($tool); 40 43 if (! (-e $tool)) { 41 44 print "You should install the SmartStart Scripting toolkit tool $tool\nto benefit from mindi's enhanced hardware support\n"; … … 46 49 } 47 50 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)"); 49 52 } 50 53 if ($tool =~ /cpqacuxe/) {
Note:
See TracChangeset
for help on using the changeset viewer.