summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmplayer/data
diff options
context:
space:
mode:
authorSimon Rettberg2013-07-30 16:55:55 +0200
committerSimon Rettberg2013-07-30 16:55:55 +0200
commitaba3465b5ffd5637ef48ec27dabb0a92c2530cfc (patch)
treed08942326e7c7457d48ec0b6a482abea38ebd62d /remote/modules/vmplayer/data
parentremoved old code that did nothing (diff)
downloadtm-scripts-aba3465b5ffd5637ef48ec27dabb0a92c2530cfc.tar.gz
tm-scripts-aba3465b5ffd5637ef48ec27dabb0a92c2530cfc.tar.xz
tm-scripts-aba3465b5ffd5637ef48ec27dabb0a92c2530cfc.zip
[vmplayer] fix memory limit on old vmware hardware versions
[rootfs-stage32] make analyze-disk wait for fdisk
Diffstat (limited to 'remote/modules/vmplayer/data')
-rw-r--r--remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include3
1 files changed, 2 insertions, 1 deletions
diff --git a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include
index 5ac0454a..71d294cb 100644
--- a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include
+++ b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include
@@ -195,7 +195,8 @@ runvmwareconfheader ()
ENABLE_SHARE=''
fi
- [ "${mem}" -ge "$MAXMEM" ] && mem="$MAXMEM"
+ [ "$mem" -ge "$MAXMEM" ] && mem="$MAXMEM"
+ [ "$hwver" -lt "7" -a "$mem" -gt "3500" ] && mem="3500"
cap3d="WHAT IS THIS VAR USED FOR?" # helper var for loging output