aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorSebastien Luttringer <seblu@seblu.net>2011-04-13 17:59:51 +0800
committerTom Gundersen <teg@jklm.no>2011-04-13 20:47:20 +0800
commit23afb988d59c6167b33353155cf8fafef3c5855a (patch)
tree0009e514bb03a5d466153e48f7b28928ec157c25 /rc.sysinit
parentf144946d98a93b667dcf1def10ab066bda528aea (diff)
downloadinitscripts-23afb988d59c6167b33353155cf8fafef3c5855a.tar.xz
mdadm: disable SoftRAID detection
This job is done by recent version of mdadm in /lib/udev/rules.d/64-md-raid.rules. This will also fix FS#20117. Signed-off-by: Sebastien Luttringer <seblu@seblu.net> Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit5
1 files changed, 0 insertions, 5 deletions
diff --git a/rc.sysinit b/rc.sysinit
index e8e4031..1839280 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -111,11 +111,6 @@ run_hook sysinit_udevsettled
[[ -d /sys/class/net/lo ]] && \
status "Bringing up loopback interface" /sbin/ifconfig lo 127.0.0.1 up
-# SoftRAID devices detection
-if [[ $USEMDADM =~ yes|YES && -x /sbin/mdadm ]]; then
- status "Activating SoftRAID arrays" /sbin/mdadm --assemble --scan
-fi
-
# FakeRAID devices detection
if [[ $USEDMRAID =~ yes|YES && -x /sbin/dmraid ]]; then
status "Activating FakeRAID arrays" /sbin/dmraid -i -ay