Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2011 18:49:50 GMT
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154397: [patch] audio/musicpd: starts before /etc/rc.d/mixer
Message-ID:  <201101301849.p0UIno8t049328@red.freebsd.org>
Resent-Message-ID: <201101301900.p0UJ0JIp020708@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101301849.p0UIno8t049328>