projects
/
grml-autoconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
282d568
)
Load md_mod if /proc/mdstat isn't there
author
Christian Hofstaedtler
<ch@grml.org>
Wed, 16 Nov 2011 11:06:26 +0000
(12:06 +0100)
committer
Christian Hofstaedtler
<ch@grml.org>
Wed, 16 Nov 2011 11:06:26 +0000
(12:06 +0100)
autoconfig.functions
patch
|
blob
|
history
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
ff1052f
..
3ec2ad3
100755
(executable)
--- 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