X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=autoconfig.functions;h=3ec2ad39998a121204cdf461b5796d8f5824c3ff;hb=b9c918691204315ce55c54a19ceca1ab12964f7b;hp=ff1052f8903b74e817ad0c46af1b56c292393dbd;hpb=282d56843ab0fb7bbf43c23cfb7006ddb38f7e50;p=grml-autoconfig.git 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