Changeset 1759 in MondoRescue for branches/2.2.5/mindi/mindi
- Timestamp:
- Nov 1, 2007, 3:17:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/mindi
r1756 r1759 2780 2780 2781 2781 # Management of udev (which includes modprobe in rules) 2782 ps auxww | grep -v grep | grep -q /udevd2782 ps auxww | grep -v grep | grep -qw udevd 2783 2783 if [ $? -eq 0 ]; then 2784 2784 echo "udev device manager found" > tmp/USE-UDEV 2785 LogIt "udev device manager found" 2785 2786 cp --parents -Rdf /etc/udev . 2> /dev/null 2786 2787 cp --parents -Rdf /lib/udev /lib64/udev . 2> /dev/null 2787 2788 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` . 2791 2798 rm -f $MINDI_TMP/udev.lis 2792 2799 else
Note:
See TracChangeset
for help on using the changeset viewer.