|Welcome to Defaults/rc.conf.|
rc - shell
The generic hook into OpenRC.
Scripts to run OpenRC
Scripts to run OpenRC
Scripts automatically executed at boot and shutdown
Configuration file for devd(8)
Initscript Configuration Files
Smaller configuration files
Specifies the default settings for all the available options.
The global OpenRC configuration file
GhostBSD specific configurations
Safely edit system rc files
Shows which services are running
Add or delete services
Locate and run an OpenRC service
|Back to the System|
The file 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 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 /etc/Rc.conf|rc.conf file. Options need only be specified in /etc/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 /etc/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 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
Options are set with "name=value" assignments that use sh(1) syntax.
/etc/defaults/rc.conf file contains the following sections:
- Important initial Boot-time options
- Network configuration sub-section
- System console options
- Mail Transfer Agent (MTA) options
- Miscellaneous administrative options
- Jail Configuration (see rc.conf(5) manual page)
- Define source_rc_confs, the mechanism used by /etc/rc.* scripts to source rc_conf_files overrides safely.
- Allow vendors to override FreeBSD defaults in /etc/default/rc.conf without the need to carefully manage /etc/rc.conf.
- Global OpenRC configuration settings
- MISC CONFIGURATION VARIABLES, there variables are shared between many init scripts
- SERVICE CONFIGURATION VARIABLES
For a more detailed explanation of all the rc.conf variables, please refer to the rc.conf(5) manual page.