summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/files/run-virt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/vmchooser/files/run-virt.sh')
-rw-r--r--os-plugins/plugins/vmchooser/files/run-virt.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh
index 308dbb0d..5aefc47e 100644
--- a/os-plugins/plugins/vmchooser/files/run-virt.sh
+++ b/os-plugins/plugins/vmchooser/files/run-virt.sh
@@ -20,7 +20,8 @@
# include default directories
. /etc/opt/openslx/openslx.conf
-PLUGINCONFDIR=${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser
+PLUGINCONFROOT=${OPENSLX_DEFAULT_CONFDIR}/plugins
+PLUGINCONFDIR=${PLUGINCONFROOT}/vmchooser
# include general configuration from vmchooser
. ${PLUGINCONFDIR}/run-virt.include
@@ -227,7 +228,6 @@ OpenSLX script for preparing virtual machine environment ...
EOL
-
# Adjust sound volume
writelog "Unmuting sound...\c "
amixer -q sset Master 80% unmute 2>/dev/null
@@ -248,8 +248,8 @@ cp ${xml} ${PLUGINCONFDIR}/fd-loop/config.xml
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
+if [ -e ${PLUGINCONFROOT}/${virt_mach}/run-${virt_mach}.include ] ; then
+ . ${PLUGINCONFROOT}/${virt_mach}/run-${virt_mach}.include
# start a windowmanager for easier handling
# (expect problems /w windows opening in background /w vmware without wm)
for dm in xfwm4 metacity openbox blackbox kwin fvwm2 ; do