summaryrefslogtreecommitdiff
path: root/package/mpd/files/mpd.postinst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-18 17:40:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-18 17:40:11 +0200
commit71a23a703db0e4f33b0b42664b0fbc6a0e6f9c1d (patch)
tree8194116bb2150c36da6bbdc639b9d4c476035aac /package/mpd/files/mpd.postinst
parentf441f541ded2301ef5dc6cc45e22eb50127a1d71 (diff)
disable running mpd as non-root, we now use a data directory which is automatically remounted rw when database is written. it is not possible to remount a filesystem as user read-write, without any sudo or sbit hacks.
Diffstat (limited to 'package/mpd/files/mpd.postinst')
-rw-r--r--package/mpd/files/mpd.postinst3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/mpd/files/mpd.postinst b/package/mpd/files/mpd.postinst
index a635ccae7..9eb855abe 100644
--- a/package/mpd/files/mpd.postinst
+++ b/package/mpd/files/mpd.postinst
@@ -1,6 +1,3 @@
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
-gid=$(get_next_gid)
-add_group mpd $gid
-add_user mpd $(get_next_uid) $gid /music
add_rcconf mpd