summaryrefslogtreecommitdiff
path: root/user/pulseaudio/pulseaudio.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/pulseaudio/pulseaudio.pre-install')
-rw-r--r--user/pulseaudio/pulseaudio.pre-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/user/pulseaudio/pulseaudio.pre-install b/user/pulseaudio/pulseaudio.pre-install
new file mode 100644
index 000000000..7a1a18d59
--- /dev/null
+++ b/user/pulseaudio/pulseaudio.pre-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+addgroup -S pulse 2>/dev/null
+addgroup -S pulse-access 2>/dev/null
+adduser -S -D -H -h /var/empty -s /sbin/nologin -G pulse -g "PulseAudio daemon" pulse 2>/dev/null
+addgroup pulse pulse-access 2>/dev/null
+
+exit 0