diff options
Diffstat (limited to 'media-sound/pulseaudio/files/pulseaudio.init.d')
-rw-r--r-- | media-sound/pulseaudio/files/pulseaudio.init.d | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media-sound/pulseaudio/files/pulseaudio.init.d b/media-sound/pulseaudio/files/pulseaudio.init.d index d039bf5443f2..65a947466c01 100644 --- a/media-sound/pulseaudio/files/pulseaudio.init.d +++ b/media-sound/pulseaudio/files/pulseaudio.init.d @@ -22,6 +22,12 @@ start() { chmod 0750 /var/run/pulse chmod 0660 /var/run/pulse/native fi + + if [[ $(readlink /usr/bin/esd | xargs basename) == "esdcompat" ]] && [[ -S /tmp/.esd/socket ]]; then + chgrp -R pulse-access /tmp/.esd + chmod 0750 /tmp/.esd + chmod 0660 /tmp/.esd/socket + fi } stop() { |