diff options
author | Michael Janczyk | 2009-03-24 17:55:41 +0100 |
---|---|---|
committer | Michael Janczyk | 2009-03-24 17:55:41 +0100 |
commit | dc069ecb1d75afc1aa5f632f7f98f2e61cbb9e95 (patch) | |
tree | 5b114eea640700e617fe642b811fab3b5352ac8e /os-plugins/plugins/vmware/files/run-virt.include | |
parent | Fixing issue #401 ... (diff) | |
download | core-dc069ecb1d75afc1aa5f632f7f98f2e61cbb9e95.tar.gz core-dc069ecb1d75afc1aa5f632f7f98f2e61cbb9e95.tar.xz core-dc069ecb1d75afc1aa5f632f7f98f2e61cbb9e95.zip |
modified check:
only substring true, TRUE, yes or YES needed for 3D
upgrading 5.0 version to trunk
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2756 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/files/run-virt.include')
-rw-r--r-- | os-plugins/plugins/vmware/files/run-virt.include | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os-plugins/plugins/vmware/files/run-virt.include b/os-plugins/plugins/vmware/files/run-virt.include index 9bbb6b47..a9e24454 100644 --- a/os-plugins/plugins/vmware/files/run-virt.include +++ b/os-plugins/plugins/vmware/files/run-virt.include @@ -225,9 +225,9 @@ VIRTCMDOPTS="${vmopt} ${conffile}" # enable 3D enable3d=$(grep -i "<enable3d param=.*" ${xml} 2>/dev/null | \ - awk -F '"' {'print $2'}) + awk -F '=' {'print $2'}) case "$enable3d" in - true|TRUE|yes|YES) + *true*|*TRUE*|*yes*|*YES*) enable3d="TRUE" ;; *) |