summaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.sysinit b/rc.sysinit
index cedf151..5e5ed2b 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -117,6 +117,11 @@ if [[ -f /etc/mdadm.conf ]] && /bin/grep -q ^ARRAY /etc/mdadm.conf; then
status "Activating RAID 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
+fi
+
activate_vgs
# Set up non-root encrypted partition mappings