diff options
Diffstat (limited to 'package/mpd/files/mpd.postinst')
-rw-r--r-- | package/mpd/files/mpd.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/mpd/files/mpd.postinst b/package/mpd/files/mpd.postinst index b2d70b269..d7ca3edbd 100644 --- a/package/mpd/files/mpd.postinst +++ b/package/mpd/files/mpd.postinst @@ -1,3 +1,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 |