mpd.postinst 143 B

123456
  1. #!/bin/sh
  2. . $IPKG_INSTROOT/etc/functions.sh
  3. gid=$(get_next_gid)
  4. add_group mpd $gid
  5. add_user mpd $(get_next_uid) $gid /mnt/media
  6. add_rcconf mpd