#!/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 "-D --log-target=syslog"
