]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
rc.sysinit: do not run evms code if not enabled
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 30 May 2013 19:23:08 +0000 (19:23 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 30 May 2013 19:23:08 +0000 (19:23 +0000)
svn-id: @12670

rc.d/rc.sysinit

index 666da98328500032c690676c6e0fe1a725d9cc54..c09ef9cc08b1c0e299e1e2b1e8e6035d784195f2 100755 (executable)
@@ -634,7 +634,7 @@ if ! is_yes "$VSERVER"; then
 
        # 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
This page took 0.27896 seconds and 4 git commands to generate.