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


Ignore:
Timestamp:
Nov 1, 2007, 3:17:23 PM (16 years ago)
Author:
Bruno Cornec
Message:

Tries to add udev support also for rhel4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi

    r1756 r1759  
    27802780
    27812781    # Management of udev (which includes modprobe in rules)
    2782     ps auxww | grep -v grep | grep -q /udevd
     2782    ps auxww | grep -v grep | grep -qw udevd
    27832783    if [ $? -eq 0 ]; then
    27842784        echo "udev device manager found" > tmp/USE-UDEV
     2785        LogIt "udev device manager found"
    27852786        cp --parents -Rdf /etc/udev . 2> /dev/null
    27862787        cp --parents -Rdf /lib/udev /lib64/udev . 2> /dev/null
    27872788        if [ -x /sbin/udevd ]; then
    2788             LocateDeps /sbin/udevd /sbin/modprobe /sbin/insmod > $MINDI_TMP/udev.lis
    2789             rm -f sbin/modprobe sbin/insmod
    2790             cp --parents -Rdf /sbin/udevd /sbin/modprobe /sbin/insmod `sort -u $MINDI_TMP/udev.lis` .
     2789            lis=`grep -Ev'^#' $MINDI_CONF/udev.files`
     2790            LocateDeps $lis > $MINDI_TMP/udev.lis
     2791            for i in $lis; do
     2792                if [ "`echo $i | cut -c1`" = "/" ]; then
     2793                    j=`echo $i | cut -c2-`
     2794                    rm -f $j
     2795                fi
     2796            done
     2797            cp --parents -Rdf $lis `sort -u $MINDI_TMP/udev.lis` .
    27912798            rm -f $MINDI_TMP/udev.lis
    27922799        else
Note: See TracChangeset for help on using the changeset viewer.