aboutsummaryrefslogtreecommitdiffstats
path: root/testing/avahi/avahi.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/avahi/avahi.pre-install')
-rw-r--r--testing/avahi/avahi.pre-install13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/avahi/avahi.pre-install b/testing/avahi/avahi.pre-install
new file mode 100644
index 0000000000..e982c7d41f
--- /dev/null
+++ b/testing/avahi/avahi.pre-install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+addgroup -S -g 28 netdev 2>/dev/null
+addgroup -S -g 86 avahi 2>/dev/null
+adduser -u 86 \
+ -h /var/run/avahi-daemon \
+ -s /bin/false \
+ -S -D -H \
+ -g "Avahi System User" \
+ -G avahi \
+ avahi 2>/dev/null
+
+exit 0