90kernel-modules/module-setup.sh: include usb mass storage drivers
authorHarald Hoyer <harald@redhat.com>
Mon, 7 Nov 2011 08:37:55 +0000 (09:37 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 7 Nov 2011 08:38:30 +0000 (09:38 +0100)
modules.d/90kernel-modules/module-setup.sh

index db4b276..d7aadd8 100755 (executable)
@@ -4,13 +4,8 @@
 
 installkernel() {
     if [[ -z $drivers ]]; then
-        block_module_test() {
-            local blockfuncs='ahci_init_controller|ata_scsi_ioctl|scsi_add_host|blk_init_queue|register_mtd_blktrans|scsi_esp_register|register_virtio_device'
-
-            egrep -q "$blockfuncs" "$1"
-        }
         block_module_filter() {
-            local _blockfuncs='ahci_init_controller|ata_scsi_ioctl|scsi_add_host|blk_init_queue|register_mtd_blktrans|scsi_esp_register|register_virtio_device'
+            local _blockfuncs='ahci_init_controller|ata_scsi_ioctl|scsi_add_host|blk_init_queue|register_mtd_blktrans|scsi_esp_register|register_virtio_device|usb_stor_disconnect'
             # subfunctions inherit following FDs
             local _merge=8 _side2=9
             function bmf1() {