aboutsummaryrefslogtreecommitdiffstats
path: root/main/avahi/avahi.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-21 21:20:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-21 21:20:16 +0000
commitd622713df480c0f70a2b73f58d5a2d719e83e3f3 (patch)
treecf86c0fc6706a93dced0cb3e4e6f8e7b4e14ebdb /main/avahi/avahi.pre-install
parent29b5df4f9643103f6e72fdac2fb1bb426d35cb5b (diff)
downloadaports-d622713df480c0f70a2b73f58d5a2d719e83e3f3.tar.bz2
aports-d622713df480c0f70a2b73f58d5a2d719e83e3f3.tar.xz
main/avahi,libdaemon,py-dbus: moved from testing
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