summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorTobias Powalowski <tpowa@archlinux.org>2006-05-07 15:03:33 +0200
committerTobias Powalowski <tpowa@archlinux.org>2006-05-07 15:03:33 +0200
commitc65948fcdfca6da75f42615959660c2293c907c4 (patch)
treec6e94bf836d5f97b57d6bbe9d17a0b5ce74ede7c /install
parent3c2796fc34d6b5d41c9ff7b4389651bbbe6d018b (diff)
downloadmkinitcpio-c65948fcdfca6da75f42615959660c2293c907c4.tar.gz
mkinitcpio-c65948fcdfca6da75f42615959660c2293c907c4.tar.xz
'fixed mdadm check and modprobe hardcoded'
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@79 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install')
-rw-r--r--install/autodetect2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect
index 73d8a21..88c26eb 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -8,7 +8,7 @@ install ()
-e "/usb/" -e "/ide/" -e "/ieee1394/" -e "/cdrom"\
-e "/net/" -e "/pcmcia")
$(cat /proc/filesystems | grep -v nodev) \
- $(mdadm -E -s /dev/hd* /dev/sd* | awk -Flevel= '{print $2}' | awk '{print $1}') "
+ $([ -e /sbin/mdadm ] && mdadm -E -s /dev/hd* /dev/sd* | awk -Flevel= '{print $2}' | awk '{print $1}') "
for m in $AUTODETECT; do
modname="$(basename ${m%%\.ko})"