mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
mpd: bump to version 0.18.7
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
2194440bfd
commit
1753c3bf2a
@@ -1,15 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Sanity checks
|
||||
test -f /usr/bin/mpd || exit 0
|
||||
test -f /etc/mpd.conf || exit 0
|
||||
|
||||
start() {
|
||||
echo -n "Starting mpd: "
|
||||
start-stop-daemon --start --quiet --background --exec /usr/bin/mpd
|
||||
echo "OK"
|
||||
start-stop-daemon --start --quiet --background --exec /usr/bin/mpd \
|
||||
&& echo "OK" || echo "FAIL"
|
||||
}
|
||||
|
||||
stop() {
|
||||
echo -n "Stopping mpd: "
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/mpd.pid
|
||||
echo "OK"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/mpd.pid \
|
||||
&& echo "OK" || echo "FAIL"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
|
||||
Reference in New Issue
Block a user