2010-11-20 00:10:49 +01:00
|
|
|
#
|
|
|
|
# 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
|
2012-12-18 11:24:00 +01:00
|
|
|
setcap cap_net_raw=ep usr/lib/pulse/proximity-helper 2>/dev/null || \
|
|
|
|
chmod +s usr/lib/pulse/proximity-helper
|
2010-11-20 00:10:49 +01:00
|
|
|
;;
|
|
|
|
esac
|