Reload loader.conf

Hi
If I change any value in /boot/loader.conf then is it necessary to reboot system? Or can the value (or loader.conf) be reloaded without rebooting?
Thanks
 
Those are sysctl(8) and shouldn't go in loader.conf but /etc/sysctl.conf. Most sysctl(8) [*] can be changed on the fly: sysctl hw.psm.elantech.min_pressure="45".

[*] Some are read-only and some can only be set before the kernel is loaded. Those need to go in loader.conf.
 
When I put these values in /etc/sysctl.conf, system gives error:
sysctl: Tuneable values are set in /boot/loader.conf
 
Bugger, this is one of those sysctls that need to be set before boot. So it does need to go in loader.conf.
 
How about kenv (1), instead of sysctl?
Code:
kenv hw.psm.elantech.min_pressure=45
You cannot change read-only tunables once the kernel has booted. Even if the value is changed in the environment, the new value is not picked up by the driver.
 
Back
Top