summaryrefslogtreecommitdiff
path: root/package/avahi/files/avahi.postinst
diff options
context:
space:
mode:
authorJoerg Seitter <adk@seitter.net>2020-05-16 00:48:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-05-17 11:58:00 +0200
commitb9600c647656c4152cf3ca531728675bbcc29a40 (patch)
tree067b7dcd79e26626712a07549635584dafdf0e88 /package/avahi/files/avahi.postinst
parent20fc02c47fb8b8cbbbfcfe0f03c2d63e188a66e3 (diff)
avahi: fixed postinst of package and removed unneccesary libintl dependency
Signed-off-by: Joerg Seitter <adk@seitter.net>
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