SVN: rc-scripts/trunk: rc.d/rc.sysinit sysconfig/system

glen glen at pld-linux.org
Thu May 30 21:31:03 CEST 2013


Author: glen
Date: Thu May 30 21:31:02 2013
New Revision: 12672

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
   rc-scripts/trunk/sysconfig/system
Log:
rc.sysinit: allow disabling dmraid


Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Thu May 30 21:31:02 2013
@@ -632,7 +632,7 @@
 		/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
 

Modified: rc-scripts/trunk/sysconfig/system
==============================================================================
--- rc-scripts/trunk/sysconfig/system	(original)
+++ rc-scripts/trunk/sysconfig/system	Thu May 30 21:31:02 2013
@@ -92,6 +92,10 @@
 # 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


More information about the pld-cvs-commit mailing list