summaryrefslogtreecommitdiff
path: root/package/mpd/files/mpd.postinst
blob: 361adeec03ba4cd25a42e1ba807bbac77ee6374b (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 /mnt
add_rcconf mpd