summaryrefslogtreecommitdiff
path: root/package/avahi/files/avahi-daemon.postinst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-05-12 12:33:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-05-12 12:33:14 +0200
commitc42a81bc2faa3bf300ced02a4567f7e47ae15722 (patch)
tree8429e716674420a9268c404e3b6ca63babe53dc2 /package/avahi/files/avahi-daemon.postinst
parentdcdecf4c6e5ec67ee07ae1d2f6cb5586ee961759 (diff)
update to latest upstream version, enable dbus
Diffstat (limited to 'package/avahi/files/avahi-daemon.postinst')
-rw-r--r--package/avahi/files/avahi-daemon.postinst6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/avahi/files/avahi-daemon.postinst b/package/avahi/files/avahi-daemon.postinst
index 0e3e13912..815c2579c 100644
--- a/package/avahi/files/avahi-daemon.postinst
+++ b/package/avahi/files/avahi-daemon.postinst
@@ -1,6 +1,8 @@
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
gid=$(get_next_gid)
-add_group avahi $gid
-add_user avahi $(get_next_uid) $gid /tmp
+add_group netdev $gid
+gid2=$(get_next_gid)
+add_group avahi $gid2
+add_user avahi $(get_next_uid) $gid2 /tmp
add_rcconf avahi avahi NO