--- mpd.orig 2009-02-12 03:40:39.401108845 -0200 +++ mpd 2009-02-12 03:41:34.911078397 -0200 @@ -6,6 +6,10 @@ case "$1" in start) stat_busy "Starting Music Player Daemon" + if [ ! -d /var/run/mpd ]; then + mkdir /var/run/mpd + chown mpd:mpd /var/run/mpd + fi /usr/bin/mpd /etc/mpd.conf &> /dev/null if [ $? -gt 0 ]; then stat_fail