Changeset 2955


Ignore:
Timestamp:
Feb 18, 2012, 1:39:49 AM (6 years ago)
Author:
bruno
Message:
  • Avoids engaging cciss if no controler present
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/rootfs/etc/init.d/rcS

    r2951 r2955  
    668668
    669669    # Now engage all Smart Array controllers to detect attached devices
    670     for f in /proc/driver/cciss/cciss* ; do
    671         LogIt "Engaging $f"
    672         echo "engage scsi" > $f
    673         LogIt "...result=$?"
    674     done
     670    if [ -d  "/proc/driver/cciss" ]; then
     671        for f in /proc/driver/cciss/cciss* ; do
     672            LogIt "Engaging $f"
     673            echo "engage scsi" > $f
     674            LogIt "...result=$?"
     675        done
     676    fi
    675677}
    676678
Note: See TracChangeset for help on using the changeset viewer.