summaryrefslogtreecommitdiffstats
path: root/core/modules
diff options
context:
space:
mode:
authorChristian Rößler2023-06-14 16:13:03 +0200
committerChristian Rößler2023-06-14 16:13:03 +0200
commit0673b5489a323d2025d0472d4a624ebb6eed8d0d (patch)
tree739950223af1108eac46e9c744ae81966bc498ff /core/modules
parent[run-virt-docker] Don't restart dockerd if not already running (diff)
downloadmltk-0673b5489a323d2025d0472d4a624ebb6eed8d0d.tar.gz
mltk-0673b5489a323d2025d0472d4a624ebb6eed8d0d.tar.xz
mltk-0673b5489a323d2025d0472d4a624ebb6eed8d0d.zip
[run-virt] Little bugfix linux scripts sound mute function
Diffstat (limited to 'core/modules')
-rw-r--r--core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/70_mutesound.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/70_mutesound.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/70_mutesound.inc
index bba384bd..8041a176 100644
--- a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/70_mutesound.inc
+++ b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/70_mutesound.inc
@@ -20,12 +20,12 @@ if [ -n "${PACTL}" ]; then
time=2
# while [ $(su -c "pulseaudio --check" "${LOCALUSER}") ]; do
while [ -z "$(ps aux|grep /pulseaudio|grep -v grep)" ]; do
- if [ "$x" -gt 30 ]; then
+ if [ "$time" -gt 30 ]; then
logger "openslx sound muter: Waited ${time} sec for pulseaudio, giving up."
break
fi
sleep ${time}; time=$((time + 2))
- logger "openslx sound muter: Waited $x seconds for pulseaudio..."
+ logger "openslx sound muter: Waited $time seconds for pulseaudio..."
done
else
SYSTEM=alsa