diff options
-rw-r--r-- | rc.conf | 3 | ||||
-rwxr-xr-x | rc.sysinit | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -36,6 +36,9 @@ USECOLOR="yes" MOD_AUTOLOAD="yes" MODULES=() +# Scan for FakeRAID (dmraid) Volumes at startup +USEDMRAID="no" + # Scan for LVM volume groups at startup, required if you use LVM USELVM="no" @@ -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 |