Editing Defaults/rc.conf
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
==Introduction== | ==Introduction== | ||
− | The file [https://www.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5 '''rc.conf'''] contains descriptive information about the local host name, configuration details for any potential network interfaces and which services should be started up at system initial boot time. In new installations, the [[Rc.conf|'''rc.conf''']] file is generally initialized by the system installation utility. | + | The file [https://www.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5 '''rc.conf'''] contains descriptive information about the local host name, configuration details for any potential network interfaces and which services should be started up at system initial boot time. In new installations, the [[Rc.conf|'''rc.conf''']] file is generally initialized by the system installation utility. |
− | The shell script '''/etc/defaults/rc.conf''' specifies the default settings for all the available options and includes the | + | The shell script '''/etc/defaults/rc.conf''' specifies the default settings for all the available options and includes the /etc/[[Rc.conf|Rc.conf|'''rc.conf''']] file. Options need only be specified in /etc/[[Rc.conf|'''rc.conf''']] when the system administrator wishes to override these defaults. |
− | This '''/etc/defaults/rc.conf''' is a file full of useful variables that you can set to change the default startup behavior of your system. '''You should not edit this file!''' Put any overrides the | + | This '''/etc/defaults/rc.conf''' is a file full of useful variables that you can set to change the default startup behavior of your system. '''You should not edit this file!''' Put any overrides the /etc/[[Rc.conf|Rc.conf|'''rc.conf''']] file and you will be able to update these defaults later without spamming your local configuration information. |
+ | |||
+ | The the /etc/[[Rc.conf|Rc.conf|'''rc.conf''']] file should only contain values which override values set in this file. This eases the upgrade path when defaults are changed and new features are added. | ||
+ | |||
+ | All arguments must be in double or single quotes. | ||
− | |||
− | |||
==Shell Script and Default Settings== | ==Shell Script and Default Settings== |