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