summaryrefslogtreecommitdiff
path: root/package/shairport-sync/files/shairport-sync.postinst
blob: 9558f175ad4c40f08861336515e59ad8402d6d8d (plain)
1
2
3
4
5
6
7
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf shairport_sync NO
add_rcconf shairport_sync_flags " "
gid=$(get_next_gid) 
add_group shairport-sync $gid 
add_user shairport-sync $(get_next_uid) $gid /etc/shairport-sync