From b9c918691204315ce55c54a19ceca1ab12964f7b Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Wed, 16 Nov 2011 12:06:26 +0100 Subject: [PATCH] Load md_mod if /proc/mdstat isn't there --- autoconfig.functions | 1 + 1 file changed, 1 insertion(+) diff --git a/autoconfig.functions b/autoconfig.functions index ff1052f..3ec2ad3 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1724,6 +1724,7 @@ config_swraid(){ checkbootparam 'forensic' || checkbootparam 'raid=noautodetect' ; then ewarn "Skipping SW-RAID code as requested on boot commandline." ; eend 0 else + [ -e /proc/mdstat ] || modprobe md_mod if ! [ -x /sbin/mdadm ] ; then eerror "mdadm not available, can not execute it." ; eend 1 else -- 2.1.4