summaryrefslogtreecommitdiff
path: root/package/mympd/files/mympd.postinst
blob: be700987b4bcd9cb797f874bd0015bd7bab03e08 (plain)
1
2
3
4
5
6
7
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf mympd NO
gid=$(get_next_gid)
add_group mympd $gid
add_user mympd $(get_next_uid) $gid /var/lib/mympd