Changeset 1781 in MondoRescue for branches/2.2.5/mindi/mindi


Ignore:
Timestamp:
Nov 9, 2007, 9:03:48 PM (12 years ago)
Author:
Bruno Cornec
Message:
  • Do not copy udev files if they do not exist
  • Fix syntax error in bkphw (end)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi

    r1764 r1781  
    27952795        cp --parents -Rdf /lib/udev /lib64/udev . 2> /dev/null
    27962796        if [ -x /sbin/udevd ]; then
    2797             lis=`grep -Ev '^#' $MINDI_CONF/udev.files`
     2797            lis2=`grep -Ev '^#' $MINDI_CONF/udev.files`
     2798            lis=""
     2799            # Get only the files which exist in that list
     2800            for i in $lis2; do
     2801                if [ -f $i ]; then
     2802                    lis="$lis $i"
     2803                fi
     2804            done
     2805            # And their deps
    27982806            LocateDeps $lis > $MINDI_TMP/udev.lis
    27992807            for i in $lis; do
Note: See TracChangeset for help on using the changeset viewer.