Changeset View
Changeset View
Standalone View
Standalone View
sbin/init/rc.conf
Show First 20 Lines • Show All 610 Lines • ▼ Show 20 Lines | |||||
chkprintcap_flags="-d" # Create missing directories by default. | chkprintcap_flags="-d" # Create missing directories by default. | ||||
dumpdev="AUTO" # Device to crashdump to (device name, AUTO, or NO). | dumpdev="AUTO" # Device to crashdump to (device name, AUTO, or NO). | ||||
dumpon_flags="" # Options to pass to dumpon(8), followed by dumpdev. | dumpon_flags="" # Options to pass to dumpon(8), followed by dumpdev. | ||||
dumpdir="/var/crash" # Directory where crash dumps are to be stored | dumpdir="/var/crash" # Directory where crash dumps are to be stored | ||||
savecore_enable="YES" # Extract core from dump devices if any | savecore_enable="YES" # Extract core from dump devices if any | ||||
savecore_flags="-m 10" # Used if dumpdev is enabled above, and present. | savecore_flags="-m 10" # Used if dumpdev is enabled above, and present. | ||||
# By default, only the 10 most recent kernel dumps | # By default, only the 10 most recent kernel dumps | ||||
# are saved. | # are saved. | ||||
service_delete_empty="NO" # Have 'service delete' remove empty rc.conf.d files. | |||||
0mp: Also, shouldn't `service_delete_empty` be documented in rc.conf(5)? | |||||
crashinfo_enable="YES" # Automatically generate crash dump summary. | crashinfo_enable="YES" # Automatically generate crash dump summary. | ||||
crashinfo_program="/usr/sbin/crashinfo" # Script to generate crash dump summary. | crashinfo_program="/usr/sbin/crashinfo" # Script to generate crash dump summary. | ||||
quota_enable="NO" # turn on quotas on startup (or NO). | quota_enable="NO" # turn on quotas on startup (or NO). | ||||
check_quotas="YES" # Check quotas on startup (or NO). | check_quotas="YES" # Check quotas on startup (or NO). | ||||
quotaon_flags="-a" # Turn quotas on for all file systems (if enabled) | quotaon_flags="-a" # Turn quotas on for all file systems (if enabled) | ||||
quotaoff_flags="-a" # Turn quotas off for all file systems at shutdown | quotaoff_flags="-a" # Turn quotas off for all file systems at shutdown | ||||
quotacheck_flags="-a" # Check all file system quotas (if enabled) | quotacheck_flags="-a" # Check all file system quotas (if enabled) | ||||
accounting_enable="NO" # Turn on process accounting (or NO). | accounting_enable="NO" # Turn on process accounting (or NO). | ||||
▲ Show 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | |||||
### Jail Configuration (see rc.conf(5) manual page) ########## | ### Jail Configuration (see rc.conf(5) manual page) ########## | ||||
############################################################## | ############################################################## | ||||
jail_enable="NO" # Set to NO to disable starting of any jails | jail_enable="NO" # Set to NO to disable starting of any jails | ||||
jail_confwarn="YES" # Prevent warning about obsolete per-jail configuration | jail_confwarn="YES" # Prevent warning about obsolete per-jail configuration | ||||
jail_parallel_start="NO" # Start jails in the background | jail_parallel_start="NO" # Start jails in the background | ||||
jail_list="" # Space separated list of names of jails | jail_list="" # Space separated list of names of jails | ||||
jail_reverse_stop="NO" # Stop jails in reverse order | jail_reverse_stop="NO" # Stop jails in reverse order | ||||
############################################################## | ############################################################## | ||||
### Define source_rc_confs, the mechanism used by /etc/rc.* ## | ### Define source_rc_confs, the mechanism used by /etc/rc.* ## | ||||
Not Done Inline ActionsThis shouldn't be optional as its use at boot is not optional. sysrc does the right thing if you use the -s name option to tell it which service you are talking about. If no rc.conf.d files exist, none are touched -- but an admin creates an rc.conf.d file for the service, boot will adhere to it and thus service should let you operate on what boot will adhere-to. Having this as optional and having the default set to no, it would cause boot and sysrc (which agree with each other) to disagree with service and that violates POLA. dteske: This shouldn't be optional as its use at boot is not optional. sysrc does the right thing if… | |||||
### scripts to source rc_conf_files overrides safely. ## | ### scripts to source rc_conf_files overrides safely. ## | ||||
############################################################## | ############################################################## | ||||
if [ -z "${source_rc_confs_defined}" ]; then | if [ -z "${source_rc_confs_defined}" ]; then | ||||
source_rc_confs_defined=yes | source_rc_confs_defined=yes | ||||
source_rc_confs() { | source_rc_confs() { | ||||
local i sourced_files | local i sourced_files | ||||
for i in ${rc_conf_files}; do | for i in ${rc_conf_files}; do | ||||
Show All 32 Lines |
Also, shouldn't service_delete_empty be documented in rc.conf(5)?