diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2010-04-18 22:27:57 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2010-04-18 22:47:09 +0200 |
commit | 523790db6f5307719d5609fb354430772e8d5aca (patch) | |
tree | 26332a05a90a3ed77a3b858fb8c9ba6d69a4a0b4 /recipes/musicpd/mpd | |
parent | fdaa0a396ccaa5def33628d6a76450cb33af24cc (diff) | |
download | openembedded-523790db6f5307719d5609fb354430772e8d5aca.tar.gz |
mpd,mpd-alsa : fix init script(start and stop were swaped in restart),bump all PR
In the mpd init script,in the restart case,it first started then stopped.
Thanks to jconnolly for having noticed that it didn't restart at all
Diffstat (limited to 'recipes/musicpd/mpd')
-rw-r--r-- | recipes/musicpd/mpd/mpd.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/musicpd/mpd/mpd.init b/recipes/musicpd/mpd/mpd.init index 98a75d0af7..2820ce7add 100644 --- a/recipes/musicpd/mpd/mpd.init +++ b/recipes/musicpd/mpd/mpd.init @@ -19,9 +19,9 @@ case "$1" in ;; restart|force-reload) echo -n "Restarting music player daemon: mpd" - start-stop-daemon --start --quiet --exec /usr/bin/mpd - sleep 2 start-stop-daemon --stop --quiet --exec /usr/bin/mpd + sleep 2 + start-stop-daemon --start --quiet --exec /usr/bin/mpd echo "." ;; *) |