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

glen glen at pld-linux.org
Thu May 30 21:23:08 CEST 2013


Author: glen
Date: Thu May 30 21:23:08 2013
New Revision: 12670

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
rc.sysinit: do not run evms code if not enabled


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:23:08 2013
@@ -634,7 +634,7 @@
 
 	# Find and activate volume groups:
 	# EVMS
-	if [ -x /sbin/evms_activate ]; then
+	if is_yes "$EVMS_LVM" && [ -x /sbin/evms_activate ]; then
 		if [ "$(kernelverser)" -lt "002006" ]; then
 			# Linux 2.4 core modules
 			modprobe -s evms


More information about the pld-cvs-commit mailing list