diff options
author | Michael Janczyk | 2009-11-04 16:17:56 +0100 |
---|---|---|
committer | Michael Janczyk | 2009-11-04 16:17:56 +0100 |
commit | 8dab32fa94b5aa3d4a1a0f21bde35bdc8e32ef76 (patch) | |
tree | d3d5c9ffbd334e56991a9351230d542ff6c927cd /os-plugins/plugins/vmchooser | |
parent | update vmchooser to 0.0.13 (new base paths) (diff) | |
download | core-8dab32fa94b5aa3d4a1a0f21bde35bdc8e32ef76.tar.gz core-8dab32fa94b5aa3d4a1a0f21bde35bdc8e32ef76.tar.xz core-8dab32fa94b5aa3d4a1a0f21bde35bdc8e32ef76.zip |
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3197 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmchooser')
-rw-r--r-- | os-plugins/plugins/vmchooser/XX_vmchooser.sh | 2 | ||||
-rw-r--r-- | os-plugins/plugins/vmchooser/files/run-virt.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/os-plugins/plugins/vmchooser/XX_vmchooser.sh index 7f8096c3..d3ade116 100644 --- a/os-plugins/plugins/vmchooser/XX_vmchooser.sh +++ b/os-plugins/plugins/vmchooser/XX_vmchooser.sh @@ -72,7 +72,7 @@ if [ -e $CONFFILE ]; then CPU_CORES=$(grep 'processor.*:' /proc/cpuinfo | wc -l) if [ "${CPU_CORES}" -gt "1" 2>/dev/null ]; then - echo 'cpu_cores="${CPU_CORES}")' >>${PLUGINCONFDIR}/run-virt.include + echo "cpu_cores=\"${CPU_CORES}\"" >>${PLUGINCONFDIR}/run-virt.include else echo 'cpu_cores="1"' >>${PLUGINCONFDIR}/run-virt.include fi diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh index d7a587f2..a905c9d9 100644 --- a/os-plugins/plugins/vmchooser/files/run-virt.sh +++ b/os-plugins/plugins/vmchooser/files/run-virt.sh @@ -246,7 +246,7 @@ filecheck # Get all virtual machine specific stuff from the respective include file if [ -e ${PLUGINCONFDIR}/run-${virt_mach}.include ] ; then - . PLUGINCONFDIR/run-${virt_mach}.include + . ${PLUGINCONFDIR}/run-${virt_mach}.include # start a windowmanager for player 2+ # otherwise expect problems with windows opening in background if [ "${virt_mach}" = "vmware" ]; then |