aboutsummaryrefslogtreecommitdiffstats
path: root/main/avahi/avahi.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/avahi/avahi.pre-install')
-rw-r--r--main/avahi/avahi.pre-install13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/avahi/avahi.pre-install b/main/avahi/avahi.pre-install
new file mode 100644
index 0000000000..e982c7d41f
--- /dev/null
+++ b/main/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