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