[package] update mpd to 0.15.2, cleanup init script (#6207)
authorFlorian Fainelli <florian@openwrt.org>
Mon, 23 Nov 2009 22:11:40 +0000 (22:11 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 23 Nov 2009 22:11:40 +0000 (22:11 +0000)
SVN-Revision: 18508

sound/mpd/Makefile
sound/mpd/files/mpd.init

index fba83a4..3d74a14 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mpd
-PKG_VERSION:=0.15.4
+PKG_VERSION:=0.15.5
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/musicpd
-PKG_MD5SUM:=addbbcbbf8a24a2ce80db1ba5a1f91ca
+PKG_MD5SUM:=078bd45c8266ac577e4a96fa38d1e534
 
 include $(INCLUDE_DIR)/package.mk
 
index e0579f1..017ad77 100644 (file)
@@ -13,21 +13,20 @@ start() {
                mkdir -p $pld
        fi
        #create mpd db
-        /usr/bin/mpd --stdout --create-db
-       
+       /usr/bin/mpd --stdout --create-db
+
        #optional export for mpc
-        #export MPD_HOST=127.0.0.1
-       
+       #export MPD_HOST=127.0.0.1
+
        #start mpd
-        /usr/bin/mpd
-       
+       /usr/bin/mpd
+
        #generate playlist and start to play
-        /usr/bin/mpc listall | /usr/bin/mpc add -
-        /usr/bin/mpc play
-       /usr/bin/mpc repeat     
+       /usr/bin/mpc listall | /usr/bin/mpc add -
+       /usr/bin/mpc play
+       /usr/bin/mpc repeat
 }
 
 stop() {
         killall mpd
 }
-