summaryrefslogtreecommitdiff
path: root/package/avahi/files/avahi.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/avahi/files/avahi.postinst')
-rw-r--r--package/avahi/files/avahi.postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/avahi/files/avahi.postinst b/package/avahi/files/avahi.postinst
new file mode 100644
index 000000000..8fe8f1e32
--- /dev/null
+++ b/package/avahi/files/avahi.postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+gid=$(get_next_gid)
+add_group netdev $gid
+gid2=$(get_next_gid)
+add_group avahi $gid2
+add_user avahi $(get_next_uid) $gid2 /tmp
+add_rcconf avahi NO