Difference between revisions of "Defaults/rc.conf"

From GhostBSD Wiki
Jump to: navigation, search
(Created page with "{{welcome}} {{Navbar OpenRC}} ==Introduction== Category:Sysutils")
 
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''']] file is generally initialized by the system installation utility.
  
 +
The /etc/[[rc.conf]] file is included from the file '''/etc/defaults/rc.conf''', which specifies the default settings for all the available options.  Options need only be specified in /etc/rc.conf when the system administrator wishes to override these defaults.
  
  

Revision as of 12:10, 18 March 2020

Welcome to Icon Disti GhostBSD.png Defaults/rc.conf.
OpenRC
Scripts
/etc/rc
rc - shell
/etc/rc.devd
The generic hook into OpenRC.
/sbin/rcorder
Ordering rc-scripts
/etc/init.d
Scripts to run OpenRC
/usr/local/etc/init.d
Scripts to run OpenRC
/etc/rc.d
Scripts automatically executed at boot and shutdown
/usr/local/etc/rc.d
Special scripts
Configuration
/etc/devd.conf
Configuration file for devd(8)
/etc/conf.d
Initscript Configuration Files
/etc/rc.conf.d
Smaller configuration files
/etc/defaults/rc.conf
Specifies the default settings for all the available options.
/etc/rc.conf
The global OpenRC configuration file
/etc/rc.conf.ghostbsd
GhostBSD specific configurations
Tools/Helper
/usr/sbin/sysrc
Safely edit system rc files
/bin/rc-status
Shows which services are running
/sbin/rc-update
Add or delete services
/sbin/rc-service
Locate and run an OpenRC service
Back to the Icon Disti GhostBSD.pngSystem

Introduction

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 /etc/rc.conf file is included from the file /etc/defaults/rc.conf, which specifies the default settings for all the available options. Options need only be specified in /etc/rc.conf when the system administrator wishes to override these defaults.