Re: git: 903873ce1560 - main - Implement and use new mixer(3) library for FreeBSD.

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Thu, 07 Oct 2021 07:33:57 UTC
On 10/6/21 11:11 PM, Kevin Bowling wrote:
> On Wed, Oct 6, 2021 at 1:43 PM Hans Petter Selasky <hps@selasky.org> wrote:
>>
>> On 10/6/21 10:37 PM, Kevin Bowling wrote:
>>> I still get a bunch of spam from rc.d on boot and it doesn't seem to
>>> save my mixer settings on shutdown, is there some settings file I
>>> should blow away or is there a better way to handle upgrades?
>>
>> Hi Kevin,
>>
>> Did you install the new /etc/rc.d/mixer script?
>>
>> Or do you see this diff:
> 
> There is no diff with 'diff -u /usr/src/libexec/rc/rc.d/mixer
> /etc/rc.d/mixer' for me.

Could you send those messages to me and Christos off-list? I don't see them.

--HPS

> 
>>
>>> diff -u /usr/src/libexec/rc/rc.d/mixer /etc/rc.d/mixer
>>> --- /usr/src/libexec/rc/rc.d/mixer    2021-09-22 22:09:36.193543000 +0200
>>> +++ /etc/rc.d/mixer   2019-12-26 22:43:45.276389000 +0100
>>> @@ -58,7 +58,7 @@
>>>
>>>        dev="/dev/${1}"
>>>        if [ -r ${dev} ]; then
>>> -             /usr/sbin/mixer -f ${dev} -o > /var/db/${1}-state 2>/dev/null
>>> +             /usr/sbin/mixer -f ${dev} -s > /var/db/${1}-state 2>/dev/null
>>>        fi
>>>   }
>>
>> --HPS
>