blob: 55030b522c89c4c6ff6a203de3e933abd8f00c4d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
PROGRAM=/usr/bin/mpd
ARGS=""
RUNLEVEL=3
NEEDS=""
MPD_DB="$(grep music_directory /etc/sysconfig/mpd | cut -d \" -f 2)/mpd.db"
[[ -z $MPD_DB ]] && ARGS="$ARGS --create-db"
. /etc/init.d/smgl_init
|