FreeBSD 101 : Startup variables - Sysrc -
- "/etc/defaults/rc.conf": contains the default parameters. If we want to change any of these, we do it in the "/etc/rc.conf" file.
Sysrc - Editing the "rc.conf" file -:
We can use the below command to get parameters -non-default- about our system:
For configuring the hostname for example, we would use the below command:
Or:
The "-f file" is optional in our case, normally, we use it when we refer to other configuration files.
For configuring our network interface for example, we would use the below command:
Comments