Changeset 2596 in MondoRescue for branches/2.2.10/mindi/mindi


Ignore:
Timestamp:
Mar 17, 2010, 3:55:28 AM (14 years ago)
Author:
Bruno Cornec
Message:

r3737@localhost: bruno | 2010-03-14 20:57:44 +0100

  • Suppress the USE_UDEV file and use the conf file instead in mindi
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/mindi

    r2589 r2596  
    912912    use_comp=$USE_COMP; [ "$use_comp" = "" ] && use_comp="yes"
    913913    use_star=$USE_STAR; [ "$use_star" = "" ] && use_star="no"
     914    use_udev=$USE_UDEV; [ "$use_udev" = "" ] && use_udev="no"
    914915    echo "use-lzo $use_lzo" >> $outfile
    915916    echo "use-lzma $use_lzma" >> $outfile
    916917    echo "use-star $use_star" >> $outfile
    917918    echo "use-comp $use_comp" >> $outfile
     919    echo "use-udev $use_udev" >> $outfile
    918920    echo "datestamp `date`" >> $outfile
    919921    [ "$ESTIMATED_TOTAL_NOOF_SLICES" ] && echo "total-slices $ESTIMATED_TOTAL_NOOF_SLICES" >> $outfile
     
    21542156
    21552157    # Management of udev (which includes modprobe in rules)
     2158    USE_UDEV=""
    21562159    ps auxww | grep -v grep | grep -qw udevd
    21572160    if [ $? -eq 0 ]; then
    2158         echo "udev device manager found" > $MINDI_CACHE/USE-UDEV
    2159         echo $MINDI_CACHE/USE-UDEV >> $MINDI_TMP/cp.lis
     2161        USE_UDEV="yes"
    21602162        LogFile "udev device manager found"
    21612163        echo /etc/udev /lib*/udev >> $MINDI_TMP/cp.lis
     
    21752177            LogAll "udevd daemon not in standard place (/sbin)"
    21762178            LogAll "mindi will use static devices which may cause problems"
    2177             rm -f $MINDI_CACHE/USE-UDEV
    21782179        fi
    21792180    fi
Note: See TracChangeset for help on using the changeset viewer.