Changeset 2568 in MondoRescue


Ignore:
Timestamp:
Feb 1, 2010, 6:49:55 PM (14 years ago)
Author:
Bruno Cornec
Message:
  • Also use the same exclusion technique for MINDI_EXCLUDE_DEVS in mindi itself just in case.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2566 r2568  
    11901190        skip=0
    11911191        if [ "$MINDI_EXCLUDE_DEVS" ] ; then
     1192            l=""
     1193            list_of_devices="`ReadAllLink $current_partition`"
     1194            for d in $list_of_devices; do
     1195                l="$l `GiveMapperOfdm $d`"
     1196            done
     1197            list_of_devices="`echo $l | sort -u`"
    11921198            for d in $MINDI_EXCLUDE_DEVS ; do
    1193                 if  [ "`echo " $current_partition " | grep " $d"`" != "" ]; then
     1199                if  [ "`echo " $list_of_devices " | grep " $d"`" != "" ]; then
    11941200                    echo "Excluding $current_partition from mountlist (due to excluded device $d)" >> $LOGFILE
    11951201                    skip=1
Note: See TracChangeset for help on using the changeset viewer.