diff options
author | Seblu <seblu@seblu.net> | 2011-02-24 04:09:16 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-02-27 11:52:05 +0100 |
commit | d1e9a3deff2d432bb8f39cd94bf27182cb67948c (patch) | |
tree | 9476bc36a8ba402e7caf558fdded8a27f33795e7 /rc.sysinit | |
parent | 3d9fbd69fbab72ccdbdfda584b732636cece908c (diff) |
Implement FakeRAID detection at startup
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |