1
0
Преглед на файлове

use /music as home for mpd

Waldemar Brodkorb преди 13 години
родител
ревизия
8ea042bb1e
променени са 2 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 4 4
      package/mpd/files/mpd.conf
  2. 1 1
      package/mpd/files/mpd.postinst

+ 4 - 4
package/mpd/files/mpd.conf

@@ -1,10 +1,10 @@
 # An example configuration file for MPD
 user				"mpd"
-music_directory			"~/music"
-playlist_directory		"~/.mpd/playlists"
-db_file				"~/.mpd/database"
+music_directory			"/music"
+playlist_directory		"~/playlists"
+db_file				"~/.database"
 pid_file			"/var/run/mpd/mpd.pid"
-log_file			"~/.mpd/log"
+log_file			"~/.log"
 # An example of an ALSA output
 audio_output {
 	type			"alsa"

+ 1 - 1
package/mpd/files/mpd.postinst

@@ -2,5 +2,5 @@
 . $IPKG_INSTROOT/etc/functions.sh
 gid=$(get_next_gid)
 add_group mpd $gid
-add_user mpd $(get_next_uid) $gid /mnt/media
+add_user mpd $(get_next_uid) $gid /music
 add_rcconf mpd