summaryrefslogtreecommitdiff
path: root/package/mpd/files/mpd.postinst
blob: a635ccae7d2d35e9eb344967dd6261e356f186c6 (plain)
1
2
3
4
5
6
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
gid=$(get_next_gid)
add_group mpd $gid
add_user mpd $(get_next_uid) $gid /music
add_rcconf mpd