Changeset 1825


Ignore:
Timestamp:
Dec 1, 2007, 4:47:10 PM (11 years ago)
Author:
bruno
Message:
  • Attempt to fix udev support for RHEL 5.1
  • Better support for automatic iLO Virtual Media with udev
Location:
branches/2.2.5/mindi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi

    r1824 r1825  
    29552955
    29562956    # For all modules supported, create symlinks under the mountpoint
    2957     for i in $EXTRA_MODS $NET_MODS $SCSI_MODS; do
    2958         all_modules="$all_modules `FindSpecificModuleInPath $mountpoint $i`"
    2959     done
     2957    (cd $mountpoint ; for i in $EXTRA_MODS $NET_MODS $SCSI_MODS; do all_modules="$all_modules `FindSpecificModuleInPath . $i`"; done)
    29602958    for i in $all_modules; do
    29612959        j=`echo $i | sed 's~^$mountpoint/~~'`
  • branches/2.2.5/mindi/rootfs/sbin/init

    r1824 r1825  
    156156
    157157HandleCDROMorFloppies() {
     158    # Just in case we have an iLO ensure we will map it correctly
     159    if [ -e "/tmp/USE-UDEV" ] ; then
     160        if [ -f usb-storage.ko ] || [ -f usb-storage.ko.gz ]; then
     161            modprobe -q usb-storage
     162        fi
     163    else
     164        if [ -f usb-storage.ko ] || [ -f usb-storage.ko.gz ]; then
     165            insmod usb-storage.ko*
     166        fi
     167    fi
     168
    158169    find-and-mount-cdrom
    159170    res=$?
  • branches/2.2.5/mindi/udev.files

    r1815 r1825  
    1414/sbin/udevtrigger
    1515/sbin/pam_console_apply
     16/bin/bash
Note: See TracChangeset for help on using the changeset viewer.