summaryrefslogtreecommitdiff
path: root/package/mpd/files/mpd.postinst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-11 17:29:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-11 17:29:48 +0200
commit6222925ea120fc7acc520a79dd8bda0979b7a392 (patch)
tree3c9bfa3095183d292f830fe3f4f53cbbb774e7a7 /package/mpd/files/mpd.postinst
parenta599610f7b2992a832561ce09b81c7d66409eb83 (diff)
make default mpdbox collection working out of the box
Diffstat (limited to 'package/mpd/files/mpd.postinst')
-rw-r--r--package/mpd/files/mpd.postinst4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/mpd/files/mpd.postinst b/package/mpd/files/mpd.postinst
index d7ca3edbd..b2d75177c 100644
--- a/package/mpd/files/mpd.postinst
+++ b/package/mpd/files/mpd.postinst
@@ -1,6 +1,4 @@
#!/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
+add_user mpd $(get_next_uid) 7 /media/music