summaryrefslogtreecommitdiffstats
path: root/install/autodetect
diff options
context:
space:
mode:
Diffstat (limited to 'install/autodetect')
-rw-r--r--install/autodetect3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect
index 6cf252c..73d8a21 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -7,7 +7,8 @@ install ()
AUTODETECT="$(auto_modules -e "/scsi/" -e "/block" -e "/fusion/" \
-e "/usb/" -e "/ide/" -e "/ieee1394/" -e "/cdrom"\
-e "/net/" -e "/pcmcia")
- $(cat /proc/filesystems | grep -v nodev) "
+ $(cat /proc/filesystems | grep -v nodev) \
+ $(mdadm -E -s /dev/hd* /dev/sd* | awk -Flevel= '{print $2}' | awk '{print $1}') "
for m in $AUTODETECT; do
modname="$(basename ${m%%\.ko})"