]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
rc.sysinit: allow disabling dmraid
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 30 May 2013 19:31:02 +0000 (19:31 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 30 May 2013 19:31:02 +0000 (19:31 +0000)
svn-id: @12672

rc.d/rc.sysinit
sysconfig/system

index 5da3146df3b039c8454f718e2f670476d916ee95..c7bef7070211b7befe200cd2082901628be58483 100755 (executable)
@@ -632,7 +632,7 @@ if ! is_yes "$VSERVER"; then
                /sbin/dmsetup ls --target multipath --exec '/sbin/kpartx -a -p p'
        fi
 
-       if [ -x /sbin/dmraid ]; then
+       if ! is_no "$DMRAID" && [ -x /sbin/dmraid ]; then
                run_cmd "Activating ATARAID devices" /sbin/dmraid -ay
        fi
 
index 6e34bc027498b75d8c3191d7b4d8355a79f29f01..c5c8f1c6447e9bed52eb3565193eb2b6dc6f88a4 100644 (file)
@@ -92,6 +92,10 @@ EVMS_OS2=no
 # disable if your only LVM volume is rootfs started on initrd and want faster startup
 LVM2=yes
 
+# DMRAID
+# disable if do not want DMRAID being initalized by rc.sysinit
+DMRAID=yes
+
 # Disable dm-multipath and friends here if you plan to use
 # non standard drivers (ex. DELL MPP RDAC driver)
 DM_MULTIPATH=yes
This page took 0.232421 seconds and 4 git commands to generate.