summaryrefslogtreecommitdiff
path: root/package/pulseaudio/files/pulseaudio.postinst
blob: fb77edbd57be45766e6762ca7d70efc96aba878d (plain)
1
2
3
4
5
6
7
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf pulseaudio NO
gid=$(get_next_gid)
add_user pulse $(get_next_uid) $gid /var/run/pulse
add_group pulse $gid
add_rcconf pulseaudio_flags "-D --log-target=syslog"