Changeset 1724 in MondoRescue for branches/2.2.5/mindi
- Timestamp:
- Oct 28, 2007, 6:03:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/mindi
r1723 r1724 1012 1012 LocateDeps() { 1013 1013 local incoming fname deps 1014 incoming="$ 1"1014 incoming="$*" 1015 1015 for fname in $incoming ; do 1016 1016 if [ ! -e "$fname" ] ; then … … 2770 2770 mkdir -p tmp 2771 2771 [ -e "/dev/.devfsd" ] && echo "/dev/.devfsd found" > tmp/USE-DEVFS 2772 2773 # Management of udev (which includes modprobe in rules) 2772 2774 ps auxww | grep -v grep | grep -q /udevd 2773 2775 if [ $? -eq 0 ]; then … … 2776 2778 cp --parents -Rdf /lib/udev /lib64/udev . 2> /dev/null 2777 2779 if [ -x /sbin/udevd ]; then 2778 LocateDeps /sbin/udevd > $MINDI_TMP/udev.lis2779 cp --parents -Rdf /sbin/udevd `sort -u $MINDI_TMP/udev.lis` .2780 LocateDeps /sbin/udevd /sbin/modprobe /sbin/insmod > $MINDI_TMP/udev.lis 2781 cp --parents -Rdf /sbin/udevd /sbin/modprobe /sbin/insmod `sort -u $MINDI_TMP/udev.lis` . 2780 2782 rm -f $MINDI_TMP/udev.lis 2781 2783 else 2782 2784 echo "udevd daemon not in standard place (/sbin)" 2>&1 | tee -a $LOGFILE 2783 echo "mindi will use static devices " 2>&1 | tee -a $LOGFILE2785 echo "mindi will use static devices which may cause problems" 2>&1 | tee -a $LOGFILE 2784 2786 rm -f tmp/USE-UDEV 2785 2787 fi
Note:
See TracChangeset
for help on using the changeset viewer.