34 lines
605 B
Plaintext
34 lines
605 B
Plaintext
#
|
|
# This script creates required dirs for pulseaudio.
|
|
#
|
|
case "${ACTION}" in
|
|
post)
|
|
cat <<_EOF
|
|
=====================================================================
|
|
|
|
To make ALSA use PulseAudio globally in your system you'd have to
|
|
create /etc/asound.conf with the following contents:
|
|
|
|
pcm.!default {
|
|
type pulse
|
|
}
|
|
|
|
ctl.!default {
|
|
type pulse
|
|
}
|
|
|
|
pcm.pulse {
|
|
type pulse
|
|
}
|
|
|
|
ctl.pulse {
|
|
type pulse
|
|
}
|
|
|
|
=====================================================================a
|
|
_EOF
|
|
setcap cap_net_raw=ep usr/libexec/pulse/proximity-helper 2>/dev/null || \
|
|
chmod +s usr/libexec/pulse/proximity-helper
|
|
;;
|
|
esac
|