I just installed FreeBSD and I don't have any experiance with it. I noticed that when I apply a config like sudo sysctl hw.snd.default_unit=7 and reboot the system hw.snd.default_unit gets reset to it's original value. This also happens with .Xresources. Running xrdb .Xresoucres only applies to the current session, when I reboot it it goes back the the default. I tried to add hw.snd.default_unit=7 to /boot/loader.conf but that also doesn't work. Is there anything like execute these codes when you start the computer kind of script I have to set it up or I'm missing something ?