From d1e9a3deff2d432bb8f39cd94bf27182cb67948c Mon Sep 17 00:00:00 2001 From: Seblu Date: Thu, 24 Feb 2011 04:09:16 +0100 Subject: Implement FakeRAID detection at startup --- rc.sysinit | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rc.sysinit') 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 -- cgit v1.2.3-54-g00ecf