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

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Wed, 06 Oct 2021 20:43:13 UTC
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:

> 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