summaryrefslogtreecommitdiff
path: root/user/avahi/avahi.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/avahi/avahi.pre-install')
-rw-r--r--user/avahi/avahi.pre-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/avahi/avahi.pre-install b/user/avahi/avahi.pre-install
new file mode 100644
index 000000000..4d6a7d061
--- /dev/null
+++ b/user/avahi/avahi.pre-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+groupadd -r -g 201 avahi 2>/dev/null
+groupadd -r -g 202 avahi-autoipd 2>/dev/null
+useradd -c "Service Discovery User" -s /sbin/nologin -g avahi \
+ -d /var/empty -M -N -u 201 2>/dev/null
+useradd -c "IPv4LL network address configuration daemon" -s /sbin/nologin \
+ -g avahi-autoipd -d /var/empty -M -N -u 202 2>/dev/null
+
+exit 0