diff options
Diffstat (limited to 'package/mpd/files/mpd.postinst')
-rw-r--r-- | package/mpd/files/mpd.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/mpd/files/mpd.postinst b/package/mpd/files/mpd.postinst new file mode 100644 index 000000000..361adeec0 --- /dev/null +++ b/package/mpd/files/mpd.postinst @@ -0,0 +1,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 |