The FreeBSD mixer and the "reboot" command

Problem:
You setup your mixer settings the way you want them and then you find out that these settings never survive a reboot. You find out that this type of problem only happens when you use the "reboot" command.

Resolution:
If you use the "shutdown -r now" or "init 6" commands, your mixer settings are always saved correctly.

-----------------------------------------

Pretty interesting.

Obviously the "shutdown -r now" and "init 6" commands stop the mixer daemon and allow it to save its settings to the "/var/db/mixer<x>-state" file.
 
Yes that's how it should be done.

&quot said:
reboot[/man]"]
Normally, the shutdown(8) utility is used when the system needs to be
halted or restarted, giving users advance warning of their impending doom
and cleanly terminating specific programs.
 
Niatross said:
If you use the "shutdown -r now" or "init 6" commands, your mixer settings are always saved correctly.
Alternatively, if you'd prefer to have your mixer at a certain fixed setting on every boot you could just put a mixer(8) command in your /etc/rc.local file.

Fonz
 
Back
Top