summaryrefslogtreecommitdiff
path: root/package/pulseaudio/files/pulseaudio.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/pulseaudio/files/pulseaudio.postinst')
-rw-r--r--package/pulseaudio/files/pulseaudio.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/pulseaudio/files/pulseaudio.postinst b/package/pulseaudio/files/pulseaudio.postinst
new file mode 100644
index 000000000..0ec666ee5
--- /dev/null
+++ b/package/pulseaudio/files/pulseaudio.postinst
@@ -0,0 +1,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 ""