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