summaryrefslogtreecommitdiff
path: root/package/avahi/files/avahi-daemon.postinst
blob: 815c2579cf8c8e4412fbbaf9b1e8fcfe2d1ae5bf (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 avahi NO