#! /bin/sh
#
# Perform first-stage hardware detection (from ramdisk).

/bin/mount -t proc proc /proc

echo -n "Detecting hardware (first stage): "
modules=`/sbin/discover --disable-all --enable=pci --module scsi`
echo $modules

# Load the appropriate modules:
for module in $modules
do
    echo "Loading $module:"
    modprobe $module
done

/bin/umount /proc
