summaryrefslogtreecommitdiff
path: root/package/mpd/files/mpd.postinst
blob: 957d973cb13ac897033608d2b862153923db6e58 (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/media
add_rcconf mpd