summaryrefslogtreecommitdiff
path: root/package/avahi/files/avahi-daemon.postinst
blob: 8fe8f1e32340e770582c034d7f4a23d14e6e7313 (plain)
1
2
3
4
5
6
7
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