2010-02-11 19:31:33 +01:00
|
|
|
Index: src/daemon/start-pulseaudio-x11.in
|
|
|
|
===================================================================
|
|
|
|
--- src/daemon/start-pulseaudio-x11.in.orig
|
|
|
|
+++ src/daemon/start-pulseaudio-x11.in
|
|
|
|
@@ -19,6 +19,12 @@
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
+. /etc/sysconfig/sound
|
|
|
|
+
|
2013-10-10 19:31:32 +02:00
|
|
|
+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] || [ x"$PULSEAUDIO_SYSTEM" = x"yes" ] ; then
|
2010-02-11 19:31:33 +01:00
|
|
|
+ exit 1
|
|
|
|
+fi
|
|
|
|
+
|
2011-08-26 05:50:33 +02:00
|
|
|
if [ x"$DISPLAY" != x ] ; then
|
2014-11-26 14:09:32 +01:00
|
|
|
|
|
|
|
@PACTL_BINARY@ load-module module-x11-publish "display=$DISPLAY" > /dev/null
|