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