summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorSimon Rettberg2015-07-07 16:39:22 +0200
committerSimon Rettberg2015-07-07 16:39:22 +0200
commitc1e2bc61c7de86241fcc3b6f66b7d4430bf27ced (patch)
tree3ed7696ae067aba99c86397860dc999047fe73b9 /remote
parent[vmware] Support lsisas controllerwq (diff)
downloadtm-scripts-c1e2bc61c7de86241fcc3b6f66b7d4430bf27ced.tar.gz
tm-scripts-c1e2bc61c7de86241fcc3b6f66b7d4430bf27ced.tar.xz
tm-scripts-c1e2bc61c7de86241fcc3b6f66b7d4430bf27ced.zip
[vmware] Only force sound card if default isn't card 0
Diffstat (limited to 'remote')
-rw-r--r--remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
index 8767d67f..7788e6a6 100644
--- a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
+++ b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
@@ -471,7 +471,7 @@ esac
sound="es1371"
# set sound card explicitly if there is more than one card in the host system
-if [ -n "$SOUND_CARD_INDEX" -a -n "$SOUND_CARD_COUNT" ] && [ "$SOUND_CARD_COUNT" -gt 1 ]; then
+if [ -n "$SOUND_CARD_INDEX" ] && [ "$SOUND_CARD_INDEX" -ne 0 ]; then
sound_fileName="sound.fileName = \"sysdefault:CARD=${SOUND_CARD_INDEX}\"
sound.autodetect = \"FALSE\""
else