Ignore:
Timestamp:
Feb 27, 2014, 3:48:25 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • The mr-kernel-get-modules program now returns all the full paths for all modules passed in parameters with their dependencies. Which is

exactly what needs mindi

File:
1 moved

Legend:

Unmodified
Added
Removed
  • branches/3.2/MondoRescue/bin/mr-kernel-get-modules

    r3249 r3250  
    1818    shift;
    1919}
    20 my ($modulepath,@allmodpaths) = mr_kernel_get_modules($ver,@ARGV);
    21 print "modules path: $modulepath\n";
    22 print "all modpaths: ".join(' ',@allmodpaths)."\n";
     20if ((defined $ARGV[0]) && ($ARGV[0] eq "-m")) {
     21    shift;
     22}
     23
     24print join(' ',mr_kernel_get_modules($ver,@ARGV))."\n";
Note: See TracChangeset for help on using the changeset viewer.