264 |
modules+=" $(grep ide_disk /proc/modules | cut -d' ' -f4 | sed '/-/d;s:,:\ :g')" |
modules+=" $(grep ide_disk /proc/modules | cut -d' ' -f4 | sed '/-/d;s:,:\ :g')" |
265 |
fi |
fi |
266 |
|
|
267 |
|
# check for usb-storage and add usb host drivers |
268 |
|
if [[ ! -z $(echo ${modules} | grep usb[_-]storage) ]] |
269 |
|
then |
270 |
|
# add usb1, usb1.1, usb2 and ubs3 hosts |
271 |
|
modules+=" uhci-hcd ohci-hcd ehci-hcd xhci-hcd" |
272 |
|
fi |
273 |
|
|
274 |
# add some generic modules |
# add some generic modules |
275 |
modules+=" sg_mod sg loop sr_mod sd_mod ide-cd ide-cd_mod ide-disk" |
modules+=" sg_mod sg loop sr_mod sd_mod ide-cd ide-cd_mod ide-disk" |
276 |
|
|