ports/154397: [patch] audio/musicpd: starts before /etc/rc.d/mixer
David Demelier
demelier.david at gmail.com
Sun Jan 30 19:00:19 UTC 2011
>Number: 154397
>Category: ports
>Synopsis: [patch] audio/musicpd: starts before /etc/rc.d/mixer
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 30 19:00:18 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: David Demelier
>Release: 8.1-RELEASE-p2
>Organization:
>Environment:
FreeBSD Abricot.malikania.fr 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #2: Sun Jan 30 13:53:10 CET 2011 root at Abricot.malikania.fr:/usr/obj/usr/src/sys/Abricot i386
>Description:
When rc(8) is executed, musicpd usually starts before /etc/rc.d/mixer and that's annoying because the sound can be very high so in a couple of seconds you can be surprise by the loud sound. I found this really annoying.
I propose to start the musicpd script just after the mixer script, see the patch below.
>How-To-Repeat:
Install mpd, run it with the rc script, don't stop playing and reboot.
>Fix:
--- musicpd.diff begins here ---
--- files/musicpd.in.orig 2011-01-30 19:43:42.000000000 +0100
+++ files/musicpd.in 2011-01-30 19:44:06.000000000 +0100
@@ -2,7 +2,7 @@
#
# PROVIDE: musicpd
-# REQUIRE: LOGIN
+# REQUIRE: mixer LOGIN
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable mpd:
--- musicpd.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list