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