enable configuration files to be located in numerous places, including
[bootcd.git] / conf_files / pl_hwinit
index 33aed4e..0073390 100755 (executable)
@@ -2,8 +2,12 @@
 
 pci_table=/etc/pl_pcitable
 
+loaded_module_list=/tmp/loadedmodules
+
 echo "pl_hwinit: loading applicable modules"
 
+echo > $loaded_module_list
+
 # this will contain lines of device_id:vendor_id (no 0x)
 system_devices=$(lspci -n | cut -d " " -f4)
 
@@ -23,6 +27,7 @@ for device in $system_devices; do
        if [ -n "$module" ]; then
            echo "pl_hwinit: found and loading module $module"
            /sbin/modprobe $module
+           echo $module >> $loaded_module_list
        fi
     done
 done
@@ -40,3 +45,9 @@ done
 echo "pl_hwinit: loading sd_mod"
 /sbin/modprobe sd_mod
 
+# load usb_storage to support node conf files on flash disks
+echo "pl_hwinit: loading usb_storage"
+/sbin/modprobe usb_storage
+
+echo "pl_hwinit: loading floppy device driver"
+/sbin/modprobe floppy