summaryrefslogtreecommitdiff
path: root/user/avahi/avahi.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-07 20:39:57 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-07 20:39:57 +0000
commita97ad11792cac5397e33839a1a7430f748f37e20 (patch)
tree3a5ca143b2a5acc8ee7e3f092d714f7b123e7a1a /user/avahi/avahi.pre-install
parent1786fe3b739fa12d512888380d20570b8910af9a (diff)
downloadpackages-a97ad11792cac5397e33839a1a7430f748f37e20.tar.gz
packages-a97ad11792cac5397e33839a1a7430f748f37e20.tar.bz2
packages-a97ad11792cac5397e33839a1a7430f748f37e20.tar.xz
packages-a97ad11792cac5397e33839a1a7430f748f37e20.zip
user/avahi: New package
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